diff options
Diffstat (limited to 'examples/01-uppercase-bot.p6')
-rw-r--r-- | examples/01-uppercase-bot.p6 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/01-uppercase-bot.p6 b/examples/01-uppercase-bot.p6 new file mode 100644 index 0000000..d846538 --- /dev/null +++ b/examples/01-uppercase-bot.p6 @@ -0,0 +1,8 @@ +use lib <lib>; +use IRC::Client; +.run with IRC::Client.new: + :nick<MahBot> + :host<irc.freenode.net> + :channels<#zofbot> + :debug + :plugins(class { method irc-to-me ($_) { .text.uc } }) |