NAME
Adam::Plugin - A base class for Adam/Moses plugins
VERSION
version 1.000
DESCRIPTION
The Adam::Plugin class implements a base class for Adam/Moses IRC bot plugins.
bot
The Adam bot instance. Required. Handles several methods from the bot including log, owner, irc, yield, privmsg, and nick.
default_events
The default events that this plugin will listen to. Returns an ArrayRef of all methods prefixed with S_ (server events) or U_ (user events) in the current class.
PCI_register
Called when the plugin is registered with the IRC component. Automatically registers server and user events based on method names.
PCI_unregister
Called when the plugin is unregistered from the IRC component.
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/perigrin/adam-bot-framework/issues.
IRC
Join #ai on irc.perl.org or message Getty directly.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHORS
Chris Prather <chris@prather.org>
Torsten Raudssus <torsten@raudssus.de>
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Chris Prather, Torsten Raudssus.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.