Adam - The patriarch of IRC Bots
This documentation refers to version 0.05.
See the Synopsis in Moses. Adam is not meant to be used directly.
The Adam class implements a basic POE::Component::IRC bot based on Moose and MooseX::POE.
The IRC nickname for the bot, it will default to the package name.
The IRC server to connect to.
The port for the IRC server, defaults to 6667
The username which we should use
The server password which we shoulduse
IRC channels to connect to.
The hostmask of the ower of the bot. The owner can control the bot's plugins through IRC using the <POE::Component::IRC::Plugin::Plugman|Plugman> interface.
Disable flood protection. Defaults to False.
A list of plugins associated with the IRC bot. See Moses::Plugin for more details.
A list of extra arguments to pass to the irc constructor.
Send message $what as a private message to $who, a channel or nick.
$what
$who
Start the IRC bot. This method also works as a Class Method and will instanciate the bot if called as such.
MooseX::POE, namespace::autoclean, MooseX::Alias, POE::Component::IRC, MooseX::Getopt, MooseX::SimpleConfig, MooseX::LogDispatch
None known currently, please email the author if you find any.
Chris Prather (chris@prather.org)
Copyright 2007-2009 by Chris Prather.
This software is free. It is licensed under the same terms as Perl itself.
To install Adam, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Adam
CPAN shell
perl -MCPAN -e shell install Adam
For more information on module installation, please visit the detailed CPAN module installation guide.