blob: 0661f2456d990330efdef0ffdb8ee6dffa68b1db (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
package Crawl::Bot::Plugin;
use Moose;
has bot => (
is => 'ro',
isa => 'Crawl::Bot',
required => 1,
weak_ref => 1,
handles => [qw(emote say say_all data_dir)],
);
# not all plugins require implementations here
sub tick { }
sub said { }
sub emoted { }
sub chanjoin { }
sub chanpart { }
sub nick_change { }
sub kicked { }
sub topic { }
sub userquit { }
sub sent { }
__PACKAGE__->meta->make_immutable;
no Moose;
1;
|