aboutsummaryrefslogtreecommitdiff
=begin pod

=NAME    IRC::Client::Plugin::UrlTitle
=AUTHOR  Patrick Spek <p.spek@tyil.work>
=VERSION 1.1.2

=head1 Description

Plugin for IRC::Client to report titles of URLs posted in IRC channels.

=head1 Installation

Install this module through L<zef|https://github.com/ugexe/zef>:

=begin code :lang<sh>
zef install IRC::Client::Plugin::UrlTitle
=end code

Next, you can use it as a plugin in an
L<C<IRC::Client>|https://modules.perl6.org/dist/IRC::Client:github:Zoffix%20Znet>
project by adding it in the C<:plugins> parameter:

=begin code
use Config;
use IRC::Client;
use IRC::Client::Plugin::UrlTitle;

sub MAIN
{
	.run with IRC::Client.new(
		:nick("testbot"),
		:plugins(
			IRC::Client::Plugin::UrlTitle.new,
		)
	);
}
=end code

=head1 License

This module is distributed under the terms of the GPL-3.0.

=end pod