summaryrefslogtreecommitdiffstats
path: root/bin/run
diff options
context:
space:
mode:
Diffstat (limited to 'bin/run')
-rw-r--r--bin/run22
1 files changed, 15 insertions, 7 deletions
diff --git a/bin/run b/bin/run
index 1d24279..011e74a 100644
--- a/bin/run
+++ b/bin/run
@@ -2,13 +2,21 @@
use strict;
use warnings;
use lib 'lib';
+use IM::Engine;
use Bot::Games;
-Bot::Games->new(
- server => 'irc.efnet.net',
- channels => ['#netmonster'],
- nick => 'doygames',
- username => 'doygames',
- name => 'doygames',
- prefix => '@',
+IM::Engine->new(
+ interface => {
+ protocol => 'REPL',
+ },
+ plugins => [
+ Commands => {
+ namespace => 'Bot::Games::Game',
+ exclude_commands => qr/Bot::Games::Game::Role/,
+ prefix => '@',
+ alias => {
+ sg => 'superghost',
+ },
+ },
+ ],
)->run;