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
- Host: GitHub
- URL: https://github.com/scriptkitties/perl6-irc-client-plugin-urltitle
- Owner: scriptkitties
- Created: 2018-02-01T23:04:22.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-14T15:06:59.000Z (over 8 years ago)
- Last Synced: 2025-01-12T20:46:13.396Z (over 1 year ago)
- Topics: irc-bot, perl6, perl6-module
- Language: Perl 6
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
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.