The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Bot::IRC::Greeting - Bot::IRC greet joining users to channels

VERSION

version 1.11

SYNOPSIS

    use Bot::IRC;

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

DESCRIPTION

This Bot::IRC plugin causes the bot to greet joining users to channels. By default, it will say something like "greetings" to whomever joins. The bot will change the style of "greetings" to somewhat match the user's nick style. For example, if "John" joins, the bot will say "Greetings" to him. If "joan_" joins, the bot will say "greetings_" to her.

You can specify the greeting word with vars, greeting.

SEE ALSO

Bot::IRC

AUTHOR

Gryphon Shafer <gryphon@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Gryphon Shafer.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.