Bot::Cobalt::Plugin::PluginMgr - IRC plugin manager
!plugin list !plugin load MyPlugin !plugin load MyPlugin Bot::Cobalt::Plugin::User::MyPlugin !plugin reload MyPlugin !plugin unload MyPlugin
This is a fairly simplistic online plugin manager.
Required level defaults to 9999 (standard-auth superusers) unless the LevelRequired option is specified in PluginMgr's plugins.conf Opts directive:
PluginMgr: Module: Bot::Cobalt::Plugin::PluginMgr Opts: ## '3' is legacy darkbot 'administrator': LevelRequired: 3
PluginMgr responds to the !plugin command:
!plugin
<JoeUser> !plugin reload DNS
Lists the aliases of all currently loaded plugins.
Load a specified plugin.
If the plugin has a plugins.conf directive, the alias can be specified by itself; the Module specified in plugins.conf will be used:
plugins.conf
<JoeUser> !plugin load DNS
Otherwise, a module must be specified:
<JoeUser> !plugin load DNS Bot::Cobalt::Plugin::Extras::DNS
As of Bot-Cobalt-0.013, '!load' no longer rehashes plugin configuration values; use '!rehash plugins' from Bot::Cobalt::Plugin::Rehash instead.
Unload a specified plugin.
The only argument is the plugin's alias.
Unload and re-load the specified plugin.
Jon Portnoy <avenj@cobaltirc.org>
To install Bot::Cobalt, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bot::Cobalt
CPAN shell
perl -MCPAN -e shell install Bot::Cobalt
For more information on module installation, please visit the detailed CPAN module installation guide.