Add /rate
This commit is contained in:
		| @@ -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();" | ||||||
|   ) |   ) | ||||||
| ); | ); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user