NAME

Bot::IRC::Infobot - Bot::IRC add classic "infobot" functionality to the bot

VERSION

version 1.40

SYNOPSIS

use Bot::IRC;

Bot::IRC->new(
    connect => { server => 'irc.perl.org' },
    plugins => ['Infobot'],
)->run;

DESCRIPTION

This Bot::IRC plugin adds classic "infobot" functionality to the bot.

Remembering Factoids

<user> thing is great
<user> thing is awesome
<user> thing is wonderful

Recalling Factoids

<user> thing?
<bot> thing is great, awesome, and wondeful.

Overwriting Factoids

<user> bot no thing is terrible
<bot> user: OK.
<user> thing?
<bot> thing is terrible.

Forgetting Factoids

<user> bot forget thing
<bot> user: OK.

Reply Factoids

A factiod that begins with "<reply>" will have the "<noun> is" missing in the reply.

<user> stuff is <reply> What stuff?
<user> stuff?
<bot> What stuff?

Action Factoids

A factoid that begins "<action>" will be emoted as a response.

<user> sad is <action> cries in a corner.
<user> sad?
<bot> * bot cries in a corner.

Multiple Answers

Pipes ("|") indicate different possible answers selected at random.

<user> d6 is 1|2|3|4|5|6
<user> d6?
<bot> 5
<user> d6?
<bot> 3

Learning What the Bot Knows

<user> bot info on d6
<bot>user: d6 is 1|2|3|4|5|6

SEE ALSO

Bot::IRC

AUTHOR

Gryphon Shafer <gryphon@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2016-2050 by Gryphon Shafer.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)