App::Bot::BasicBot::Pluggable(3pm)

App::Bot::BasicBot::Pluggable3pm

Base class for bot applications

Usage

  my bot = App::Bot::BasicBot::Pluggable( modules => [ 'Karma' ] )
  $bot->run();

Version

version 1.30

Overview

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.

Releases

6 releases since Debian 8 (Jessie); the text changed 4 times.

  1. 8
  2. 9
  3. 10–11
  4. 12
  5. 13

Author

Mario Domgoergen <[email protected]>

License

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself

From libbot-basicbot-pluggable-perl 1.30+ds1-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.