NAME

Bot::BasicBot::Pluggable::Module::RD_Basic - Basic RDBot commands

SYNOPSIS

!load RD

See the synopsis of Bot::BasicBot::Pluggable for how to load this plugin.

DESCRIPTION

This is an example module of how to use the Bot::BasicBot::Pluggable::Module::RD grammar framework, and should be used as the basis of creating new pluggable RDBot modules.

Grammar

The following simple commands are provided:

say Hello channel
tell ivorw I'm connected

There's also a catch all verb "Sorry", useful for dealing with, and disposing of error messages from other bots.

init

This is called by the BasicBot infrastructure. Put anything else here that needs to happen when your module is loaded.

help namespace

You need to populate subs in __PACKAGE__::Help, one sub for each command verb you are providing help for. Note that there must be a new method available either here or in its super class.

command namespace

You provide subs in __PACKAGE__::Command for each command verb which get called. Note that there must be a new method available either here or in its super class.

BUGS

Please report any bugs to http://rt.cpan.org.

AUTHOR

Ivor Williams
CPAN ID: IVORW
 
ivorw@cpan.org
 

COPYRIGHT

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

SEE ALSO

perl(1).