App::Bot::BasicBot::Pluggable - Base class for bot applications
Contents
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
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.
License
This program is free software; you can redistribute it and/or modify it under the same terms as Perl
itself
perl v5.40.0 2024-08-24 App::Bot::BasicBot::Pluggable(3pm)
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.
Name
App::Bot::BasicBot::Pluggable - Base class for bot applications
Synopsis
my bot = App::Bot::BasicBot::Pluggable( modules => [ 'Karma' ] )
$bot->run();
Version
version 1.30
