Adam
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Adam.pm view on Meta::CPAN
The IRC nickname for the bot, it will default to the package name.
=head2 server (Str)
The IRC server to connect to.
=head2 port (Int)
The port for the IRC server, defaults to 6667
=head2 username(Str)
The username which we should use
=head2 password(Str)
The server password which we shoulduse
=head2 channels (ArrayRef[Str])
IRC channels to connect to.
=head2 owner (Str)
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.
=head2 flood (Bool)
Disable flood protection. Defaults to False.
=head2 plugins (HashRef)
A list of plugins associated with the IRC bot. See L<Moses::Plugin> for more
details.
=head2 extra_args (HashRef)
A list of extra arguments to pass to the irc constructor.
=head1 METHODS
=head2 privmsg (Str $who, Str $what)
Send message C<$what> as a private message to C<$who>, a channel or nick.
=head2 run ()
Start the IRC bot. This method also works as a Class Method and will
instanciate the bot if called as such.
=head1 DEPENDENCIES
L<MooseX::POE|MooseX::POE>, L<namespace::autoclean|namespace::autoclean>,
L<MooseX::Alias|MooseX::Alias>, L<POE::Component::IRC|POE::Component::IRC>,
L<MooseX::Getopt|MooseX::Getopt>,
L<MooseX::SimpleConfig|MooseX::SimpleConfig>,
L<MooseX::LogDispatch|MooseX::LogDispatch>
=head1 BUGS AND LIMITATIONS
None known currently, please report bugs to L<https://rt.cpan.org/Ticket/Create.html?Queue=Adam>
=head1 AUTHORS
=over 4
=item *
Chris Prather <chris@prather.org>
=item *
Torsten Raudssus <torsten@raudssus.de> L<http://www.raudssus.de/>
=back
=head1 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.
=cut
__END__
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.493 second using v1.00-cache-2.02-grep-82fe00e-cpan-2cc899e4a130 )