Adam
view release on metacpan or search on metacpan
lib/Adam.pm view on Meta::CPAN
Returns all plugins (core and custom) to be loaded.
=head2 plugin_manager
The L<POE::Component::IRC::Plugin::PlugMan> instance for managing plugins.
=head2 poco_irc_args
A HashRef of extra arguments to pass to the IRC component constructor.
=head2 poco_irc_options
A HashRef of options to pass to the IRC component. Defaults to C<< { trace => 0 } >>.
=head2 privmsg
$bot->privmsg($who, $what);
Send message C<$what> as a private message to C<$who>, a channel or nick.
=head2 load_plugin
$bot->load_plugin($name, $plugin);
Load a plugin with the given name.
=head2 run
MyBot->run;
# or
$bot->run;
Start the IRC bot using the POE event loop. This method also works as a
class method and will instantiate the bot if called as such.
=head2 async
MyBot->async;
# or
$bot->async;
Start the IRC bot using IO::Async as the event loop. This allows you to
integrate the bot with other IO::Async-based components. Requires
L<IO::Async::Loop::POE> to be installed.
This method also works as a class method and will instantiate the bot
if called as such.
=head2 stop
$bot->stop;
Stop the bot's event loop. Works with both POE and IO::Async modes.
=head1 SUPPORT
=head2 Issues
Please report bugs and feature requests on GitHub at
L<https://github.com/perigrin/adam-bot-framework/issues>.
=head2 IRC
Join C<#ai> on C<irc.perl.org> or message Getty directly.
=head1 CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
=head1 AUTHORS
=over 4
=item *
Chris Prather <chris@prather.org>
=item *
Torsten Raudssus <torsten@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
( run in 0.752 second using v1.01-cache-2.11-cpan-df04353d9ac )