Created
September 3, 2012 11:16
-
-
Save KamilaBorowska/3608623 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
glitchmr@feather ~/SixtySixBot> cat sixtysix.p6 | |
use Net::IRC::Bot; | |
use Net::IRC::Modules::FromThisPointPrefixIsRequired; | |
use Net::IRC::Modules::Factoids; | |
Net::IRC::Bot.new( | |
debug => True, | |
nick => 'SixtySixBot', | |
realname => '66, help me', | |
server => 'irc.freenode.net', | |
channels => <#perl66>, | |
modules => ( | |
Net::IRC::Modules::FromThisPointPrefixIsRequired.new(:prefix(/ | |
^ [ SixtySix | 66 ] [ Bot ]? <[,:]> \s* | |
/)), | |
Net::IRC::Modules::Factoids.new(:file<factoids>), | |
), | |
).run; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment