Bot::IRC::Infobot - Bot::IRC add classic "infobot" functionality to the bot
version 1.28
use Bot::IRC; Bot::IRC->new( connect => { server => 'irc.perl.org' }, plugins => ['Infobot'], )->run;
This Bot::IRC plugin adds classic "infobot" functionality to the bot.
<user> thing is great <user> thing is awesome <user> thing is wonderful
<user> thing? <bot> thing is great, awesome, and wondeful.
<user> bot no thing is terrible <bot> user: OK. <user> thing? <bot> thing is terrible.
<user> bot forget thing <bot> user: OK.
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?
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.
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
<user> bot info on d6 <bot>user: d6 is 1|2|3|4|5|6
Bot::IRC
Gryphon Shafer <gryphon@cpan.org>
This software is Copyright (c) 2016-2021 by Gryphon Shafer.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Bot::IRC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bot::IRC
CPAN shell
perl -MCPAN -e shell install Bot::IRC
For more information on module installation, please visit the detailed CPAN module installation guide.