summaryrefslogtreecommitdiffstats
path: root/lib/Crawl/Bot/Plugin.pm
blob: c70e1020c745d7505f4df4e71409382f882eefa0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package Crawl::Bot::Plugin;
use Moose;

has bot => (
    is       => 'ro',
    isa      => 'Crawl::Bot',
    required => 1,
    weak_ref => 1,
    handles  => [qw(say_all data_dir)],
);

# not all plugins require a tick method
sub tick { }

__PACKAGE__->meta->make_immutable;
no Moose;

1;