Skip to content
Newer
Older
100755 19 lines (17 sloc) 463 Bytes
1639838 Added freenodebot.pl, a simple example script.
Jarrod authored
1 #!/usr/bin/env perl6
2 use v6;
3 use Net::IRC::Bot;
4 use Net::IRC::Modules::ACME;
5 use Net::IRC::Modules::Autoident;
6
7 Net::IRC::Bot.new(
a31df19 @masak fixed up Freenodebot.pl
masak authored
8 nick => 'nyhymrg',
1639838 Added freenodebot.pl, a simple example script.
Jarrod authored
9 server => 'irc.freenode.org',
10 channels => <#bottest>,
11 modules => (
cf8d1b4 @japhb Add some ACME classes to show use of prefix for commands
japhb authored
12 Net::IRC::Modules::ACME::Bark::LikeADog.new,
13 Net::IRC::Modules::ACME::Bark::LikeATree.new(prefix => '@'),
1639838 Added freenodebot.pl, a simple example script.
Jarrod authored
14 Net::IRC::Modules::ACME::Eightball.new,
a31df19 @masak fixed up Freenodebot.pl
masak authored
15 #Net::IRC::Modules::ACME::Unsmith.new
1639838 Added freenodebot.pl, a simple example script.
Jarrod authored
16 ),
a31df19 @masak fixed up Freenodebot.pl
masak authored
17 debug => True,
1639838 Added freenodebot.pl, a simple example script.
Jarrod authored
18 ).run;
Something went wrong with that request. Please try again.