D-Bot/plugins/help.php

9 lines
275 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 = "Welcome to use TG-BOT From Dennx.com";
2015-05-29 11:20:55 -05:00
foreach ($plugins as $value) {
$plugin_list .= "\n".$value;
}
$BOT->exec("msg ".$from." ".escapeString($plugin_list));
}