Add /rate

This commit is contained in:
Ceda EI 2018-12-03 11:59:19 +05:30
parent afd7c1afea
commit eb86bb87a3
1 changed files with 8 additions and 0 deletions

View File

@ -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'); 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('<a href="https://t.me/tgdrbot?start=questable_bot">Vote for me on Telegram Directory!</a>');
}
function help() { function help() {
send_html('<a href="https://t.me/quadnite/9">Help Page</a>'); send_html('<a href="https://t.me/quadnite/9">Help Page</a>');
} }
@ -445,6 +449,10 @@ $modules = array(
array( array(
"command" => "/feedback", "command" => "/feedback",
"function" => "feedback();" "function" => "feedback();"
),
array(
"command" => "/rate",
"function" => "rate();"
) )
); );