D-Bot/plugins/help.php

10 lines
261 B
PHP
Raw Normal View History

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