You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Patrick Spek 66a1853c3c
Add some comments to the source code
1 year ago
lib/IRC/Client/Plugin Add some comments to the source code 1 year ago
.editorconfig Initial commit 1 year ago
.gitignore Initial commit 1 year ago
.travis.yml Initial commit 1 year ago
META6.json Bump to v0.1.0 1 year ago
readme.adoc Add readme 1 year ago

readme.adoc

= `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<nickserv><nickname>),
:plugins(
IRC::Client::Plugin::NickServ.new(:$config)
)
);
}
----

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