diff options
author | Jesse Luehrs <doy@tozt.net> | 2009-10-31 20:53:25 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2009-10-31 20:53:25 -0500 |
commit | 8f2591356d72b4c12c2f2fc87d9e63106a93d579 (patch) | |
tree | 470638ef1e66ab7fe7de6cefc0c74cb4cd0af52e /bin/run | |
parent | 1599aed9f9356c07cb48c35aa91510ac6ae75171 (diff) | |
download | bot-games-8f2591356d72b4c12c2f2fc87d9e63106a93d579.tar.gz bot-games-8f2591356d72b4c12c2f2fc87d9e63106a93d579.zip |
make Bot::Games handle instantiating an IM::Engine object from config
Diffstat (limited to 'bin/run')
-rw-r--r-- | bin/run | 17 |
1 files changed, 1 insertions, 16 deletions
@@ -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; |