Handle NickServ interaction for IRC::Client
projects. Currently only does
identification with NickServ.
Install this module through the Perl 6 package manager
(zef
):
zef install IRC::Client::Plugin::NickServ
Next, enable it as a plugin in your IRC::Client
project:
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)
)
);
}