Change Help commands
telegram.py is developing, cannot be use yet, plzz ignore it
This commit is contained in:
+2
-1
@@ -1,9 +1,10 @@
|
||||
<?php
|
||||
PluginList("help", "Ask for help");
|
||||
if (preg_match("/^".TAG."help$/", $_GET['text'])) {
|
||||
$plugin_list = "Welcome to use TG-BOT From Dennx.com";
|
||||
$plugin_list = HELP_BEGIN."\n";
|
||||
foreach ($plugins as $value) {
|
||||
$plugin_list .= "\n".$value;
|
||||
}
|
||||
$plugin_list .= "\n\n".HELP_END;
|
||||
$BOT->exec("msg ".$from." ".escapeString($plugin_list));
|
||||
}
|
||||
Reference in New Issue
Block a user