summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-10-31 20:53:25 -0500
committerJesse Luehrs <doy@tozt.net>2009-10-31 20:53:25 -0500
commit8f2591356d72b4c12c2f2fc87d9e63106a93d579 (patch)
tree470638ef1e66ab7fe7de6cefc0c74cb4cd0af52e /bin
parent1599aed9f9356c07cb48c35aa91510ac6ae75171 (diff)
downloadbot-games-8f2591356d72b4c12c2f2fc87d9e63106a93d579.tar.gz
bot-games-8f2591356d72b4c12c2f2fc87d9e63106a93d579.zip
make Bot::Games handle instantiating an IM::Engine object from config
Diffstat (limited to 'bin')
-rw-r--r--bin/run17
1 files changed, 1 insertions, 16 deletions
diff --git a/bin/run b/bin/run
index 011e74a..3748540 100644
--- a/bin/run
+++ b/bin/run
@@ -2,21 +2,6 @@
use strict;
use warnings;
use lib 'lib';
-use IM::Engine;
use Bot::Games;
-IM::Engine->new(
- interface => {
- protocol => 'REPL',
- },
- plugins => [
- Commands => {
- namespace => 'Bot::Games::Game',
- exclude_commands => qr/Bot::Games::Game::Role/,
- prefix => '@',
- alias => {
- sg => 'superghost',
- },
- },
- ],
-)->run;
+Bot::Games->new_with_config->run;