D-Bot/plugins/help.php
2015-06-26 14:14:14 +08:00

10 lines
253 B
PHP

<?php
PluginList("help", "Ask for help");
if (preg_match("/^".TAG."help$/", $text)) {
$plugin_list = HELP_BEGIN."\n";
foreach ($plugins as $value) {
$plugin_list .= "\n".$value;
}
$plugin_list .= "\n\n".HELP_END;
$BOT->msg($from, $plugin_list);
}