Bot::BasicBot::Pluggable::WithConfig - initialize bot instance with YAML config
Create a new Bot with YAML file.
use Bot::BasicBot::Pluggable::WithConfig; my $bot = Bot::BasicBot::Pluggable->new_with_config( config => '/etc/pluggablebot.yaml' ); ex) YAML configuration server: irc.example.net port: 6667 nick: pluggablebot username: pluggablebot charset: utf-8 store: type: Bot::BasicBot::Pluggable::Store::DBI dsn: dbi:SQLite:dann.db table: pluggablebot modules: - module: Karma - module: Seen - module: Infobot - module: Title channels: - #pluggablebot
Bot::BasicBot::Pluggable::WithConfig is instance creator with config file
Takatoshi Kitano <kitano.tk {at} gmail.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Bot::BasicBot::Pluggable::WithConfig, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bot::BasicBot::Pluggable::WithConfig
CPAN shell
perl -MCPAN -e shell install Bot::BasicBot::Pluggable::WithConfig
For more information on module installation, please visit the detailed CPAN module installation guide.