summaryrefslogtreecommitdiffstats
path: root/bin/run
blob: 011e74a863d83243f402aa1e1952abe554c1c8dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env perl
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;