Created
December 3, 2015 13:43
-
-
Save zoffixznet/b2a09bc9e3a33c91a865 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
my ( $nick, $channel ) = 'P6NotABot', '#perl6-recon'; | |
await IO::Socket::Async.connect('irc.freenode.net', 6667).then({ given .result { | |
.print(qq:to/END/ | |
NICK $nick | |
USER $nick $nick irc.freenode.net :Really not a bot | |
JOIN $channel | |
END | |
); | |
react { whenever .chars-supply { .say } } | |
}}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment