10 lines
270 B
PHP
Raw Normal View History

2015-05-30 00:20:55 +08:00
<?php
PluginList("help", "Ask for help");
2015-06-30 14:11:15 +08:00
if (preg_match("/^".preg_quote(TAG, '/')."help$/", $text)) {
$plugin_list = HELP_BEGIN."\n";
2015-05-30 00:20:55 +08:00
foreach ($plugins as $value) {
$plugin_list .= "\n".$value;
}
$plugin_list .= "\n\n".HELP_END;
2015-06-26 13:59:37 +08:00
$BOT->msg($from, $plugin_list);
2015-05-30 00:20:55 +08:00
}