Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

NickServ integration for IRC::Client
https://github.com/scriptkitties/perl6-irc-client-plugin-nickserv

Last synced: 6 days ago
JSON representation

NickServ integration for IRC::Client

Awesome Lists containing this project

README

        

= `IRC::Client::Plugin::NickServ`

Handle NickServ interaction for `IRC::Client` projects. Currently only does
identification with NickServ.

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

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

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

[source,perl6]
----
use Config;
use IRC::Client;
use IRC::Client::Plugin::NickServ;

sub MAIN
{
my Config $config = Config.new;

$config.read: %(
nickserv => %(
nickname => "testbot",
password => "testpassword",
),
);

.run with IRC::Client.new(
:nick($config),
:plugins(
IRC::Client::Plugin::NickServ.new(:$config)
)
);
}
----

== License
This sourcecode is distributed under the GPLv3 license.