Skip to content

Instantly share code, notes, and snippets.

@zoffixznet
Created December 30, 2015 18:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zoffixznet/0eab66da3da94957c802 to your computer and use it in GitHub Desktop.
Save zoffixznet/0eab66da3da94957c802 to your computer and use it in GitHub Desktop.
use lib <lib ../lib>;
use IRC::Client;
use IRC::Client::Plugin::HNY;
sub MAIN (
:$host = 'localhost'
:$channel = '#zofbot'
Num :$time
) {
$time and $*CUSTOM-NOW-TIME = $time;
IRC::Client.new(
:$host,
:channels($channel),
:debug,
plugins => [ IRC::Client::Plugin::HNY.new ]
).run;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment