Skip to content

scriptkitties/perl6-IRC-Client-Plugin-NickServ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 (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)
		)
	);
}

License

This sourcecode is distributed under the GPLv3 license.

About

NickServ integration for IRC::Client

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Other 100.0%