X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=blobdiff_plain;f=Bots%2FModManager.class.php;h=a83e0a8b1e2ac2837e7e8bac9322ef832c3302b7;hp=61ce790d970bb15335ac406a0f246875a4c85b9f;hb=3927f0cb5827f9da038702bb0f7a8efd69b34aa7;hpb=5cb4a51d7eee716c108e7071e0de392b4c512a57 diff --git a/Bots/ModManager.class.php b/Bots/ModManager.class.php index 61ce790..a83e0a8 100644 --- a/Bots/ModManager.class.php +++ b/Bots/ModManager.class.php @@ -85,6 +85,11 @@ class {$_NAME} extends Bot { $this->uplink->privmsg($this->modman, $channel, "error."); } break; + case "~list": + foreach(BotLoader::listBots() as $name => $bot) { + $this->uplink->privmsg($this->modman, $channel, $name); + } + break; case "~debug": $exp=explode(" ",$message,2); ob_start();