Skip to content

Instantly share code, notes, and snippets.

@AlexDaniel
Last active October 17, 2017 19:03
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 AlexDaniel/4c1dbf4de7ceade927d6856c2cfaa693 to your computer and use it in GitHub Desktop.
Save AlexDaniel/4c1dbf4de7ceade927d6856c2cfaa693 to your computer and use it in GitHub Desktop.
use lib ‘data/github/all-modules/zoffixznet/perl6-IRC-Client/lib’;
use lib ‘data/github/all-modules/jnthn/p6-io-socket-async-ssl/lib’;
use lib ‘data/github/all-modules/sergot/openssl/lib’;
use IRC::Client;
.run with IRC::Client.new:
:nick<MahBot>
:host(%*ENV<IRC_CLIENT_HOST> // 'irc.freenode.net')
:channels<#zofbot>
:debug
:plugins(class { method irc-to-me ($_) { exit 0 } })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment