NAME¶
App::Bot::BasicBot::Pluggable - Base class for bot applications
SYNOPSIS¶
my bot = App::Bot::BasicBot::Pluggable( modules => [ 'Karma' ] )
$bot->run();
DESCRIPTION¶
This module is basically intended as base class for Bot::BasicBot::Pluggable
frontends. It's attributes can be set by command line options or a
configuration file.
ATTRIBUTES¶
All subsequently listed attributes are documented in the manpage of
bot-basicbot-pluggable. Just replace all dashes with underscores.
- server
- nick
- charset
- password
- port
- list_modules
- list_stores
- loglevel
- logconfig
- configfile
- module
METHODS¶
run¶
If list_modules or list_stores are set to a true value, the according list is
printed to stdout. Otherwise the run method of the bot specified by the
bot_class method is called.
AUTHOR¶
Mario Domgoergen <mdom@cpan.org>
LICENSE¶
This program is free software; you can redistribute it and/or modify it under
the same terms as Perl itself