X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=blobdiff_plain;f=Bots%2FModManager.class.php;h=29f33027ce3911cf96feee66ce3114f133e0f2a2;hp=61ce790d970bb15335ac406a0f246875a4c85b9f;hb=0f30e96ae37491aee19e72b89cc54a6798d1f254;hpb=316aa700bd3e2e0019b8e3f10b543b49b0f77f02 diff --git a/Bots/ModManager.class.php b/Bots/ModManager.class.php index 61ce790..29f3302 100644 --- a/Bots/ModManager.class.php +++ b/Bots/ModManager.class.php @@ -1,22 +1,19 @@ . * * * ************************************************************************ * @@ -85,6 +82,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();