From eb86bb87a3571b6fe50c3ad9997af190f22cdd81 Mon Sep 17 00:00:00 2001 From: Ceda EI Date: Mon, 3 Dec 2018 11:59:19 +0530 Subject: [PATCH] Add /rate --- webhook.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/webhook.php b/webhook.php index a10aeb3..1d73452 100644 --- a/webhook.php +++ b/webhook.php @@ -346,6 +346,10 @@ function start() { send_text('Hi, I am Quadnite. If you are chatting with me in private, you are most likely doing it wrong. Add me to a group for fun. To give feedback, use /feedback'); } +function rate() { + send_html('Vote for me on Telegram Directory!'); +} + function help() { send_html('Help Page'); } @@ -445,6 +449,10 @@ $modules = array( array( "command" => "/feedback", "function" => "feedback();" + ), + array( + "command" => "/rate", + "function" => "rate();" ) );