A plugin to IRC::Client to post the title of the webpage whose URL has been posted in an IRC channel.
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,
)
);
}