/perl6-IRC-Client-Plugin-UrlTitle

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

Primary LanguagePerl 6

IRC::Client::Plugin::UrlTitle

A plugin to IRC::Client to post the title of the webpage whose URL has been posted in an IRC channel.

Table of Contents

Usage

Install this module through the Perl 6 package manager (zef):

zef install IRC::Client::Plugin::UrlTitle

Next, enable it as a plugin in your IRC::Client project:

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,
		)
	);
}

License

This sourcecode is distributed under the GPLv3 license.