D-Bot/plugins/help.php
2015-05-30 00:20:55 +08:00

9 lines
275 B
PHP

<?php
PluginList("help", "查看帮助");
if (preg_match("/^".TAG."help$/", $_GET['text'])) {
$plugin_list = "欢迎使用来自Dennx.com的TG-BOT";
foreach ($plugins as $value) {
$plugin_list .= "\n".$value;
}
$BOT->exec("msg ".$from." ".escapeString($plugin_list));
}