Bot-Backbone-Service-Fact

 view release on metacpan or  search on metacpan

lib/Bot/Backbone/Service/Fact/Keyword.pm  view on Meta::CPAN

    alice> !keyword bot That's my name, don't wear it out.
    alice> hello bot
    alice> i said bot, hello
    alice> you dumb bot
    bot> That's my name, don't wear it out.
    alice> !forget_keyword bot

=head1 DESCRIPTION

Allows members of the chat to establish a set of keywords that the bot can
respond to a configurable percentage of the time. Each keyword can have more
than one response associated with it, in which case, a response is chosen at random.

=head1 DISPATCHER

=head2 !keyword

  !keyword name text of the response

This is used to tell the bot to memorize a keyword. The first word given ot the command is the keyword to trigger on. The remainder is the response to the bot should give when it encounters the keyword.



( run in 0.428 second using v1.01-cache-2.11-cpan-709fd43a63f )