An open API service indexing awesome lists of open source software.

https://github.com/scriptkitties/perl6-irc-client-plugin-urltitle

Plugin for IRC::Client to report titles of URLs posted in IRC channels
https://github.com/scriptkitties/perl6-irc-client-plugin-urltitle

irc-bot perl6 perl6-module

Last synced: over 1 year ago
JSON representation

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

Awesome Lists containing this project

README

          

= IRC::Client::Plugin::UrlTitle
:toc: preamble

A plugin to https://github.com/zoffixznet/perl6-IRC-Client[IRC::Client] to post
the title of the webpage whose URL has been posted in an IRC channel.

== Usage
Install this module through the Perl 6 package manager
(https://github.com/ugexe/zef[`zef`]):

[source,sh]
----
zef install IRC::Client::Plugin::UrlTitle
----

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

[source,perl6]
----
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.