-
-
Save AlexDaniel/4c1dbf4de7ceade927d6856c2cfaa693 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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