Rand Stats

IRC::Client

zef:lizmat

Actions Status Actions Status

NAME

IRC::Client - Extendable Internet Relay Chat client

SYNOPSIS

use IRC::Client;
use Pastebin;

.run with IRC::Client.new:
    :host<irc.libera.chat>
    :channels<#rakubot #zofbot>
    :debug
    :plugins(
        class { method irc-to-me ($ where /hello/) { 'Hello to you too!'} }
    )
    :filters(
        -> $text where .chars > 200 {
            'The output is too large to show here. See: '
            ~ Pastebin.new.paste: $text;
        }
    );

DESCRIPTION

The module provides the means to create clients to communicate with IRC (Internet Relay Chat) servers. Has support for non-blocking responses and output post-processing.

DOCUMENTATION MAP

AUTHORS

Source can be located at: https://github.com/lizmat/IRC-Client . Comments and Pull Requests are welcome.

CONTRIBUTORS

COPYRIGHT AND LICENSE

Copyright 2015-2021 Zoffix Znet

Copyright 2021-2024 Elizabeth Mattijsen

If you like this module, or what I’m doing more generally, committing to a small sponsorship would mean a great deal to me!

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.

The META6.json file of this distribution may be distributed and modified without restrictions or attribution.