NAME

Bot::IRC::History - Bot::IRC selected channel history dumped to email

VERSION

version 1.40

SYNOPSIS

use Bot::IRC;

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

DESCRIPTION

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.

Requesting History

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

Filtering Channels

You can specify the channels to filter or disallow from history with vars, history, filter, which can be either a string or arrayref.

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

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)