D-Bot/plugins/help.php
2015-06-30 14:11:15 +08:00

10 lines
270 B
PHP

<?php
PluginList("help", "Ask for help");
if (preg_match("/^".preg_quote(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);
}