Bot::IRC::History - Bot::IRC selected channel history dumped to email
version 1.36
use Bot::IRC; Bot::IRC->new( connect => { server => 'irc.perl.org' }, plugins => ['History'], history => { filter => ['#perl'] }, )->run;
This Bot::IRC plugin gives the bot the capability to dump channel chat history to an email.
The bot will only dump history from which the request originates. If you are currently in a channel, the bot will happily dump you anything from that channel's history, even prior to your joining. The idea here being that if you've got access to join a channel, you have access to that channel's history.
If you don't like this behavior, don't load this plugin.
To request channel history for the channel you're currently in:
bot history on DATE EMAIL bot history from DATE to DATE EMAIL bot history matching STRING EMAIL
You can specify the channels to filter or disallow from history with vars, history, filter, which can be either a string or arrayref.
vars
history
filter
Bot::IRC->new( connect => { server => 'irc.perl.org' }, plugins => ['History'], history => { filter => ['#perl'] }, )->run;
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.