From e3c619494601a8628b8a27bd855fa9b1506c0728 Mon Sep 17 00:00:00 2001 From: Zoffix Znet Date: Fri, 29 Jul 2016 19:21:20 -0400 Subject: Add examples; fix up docs --- examples/01-uppercase-bot.p6 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 examples/01-uppercase-bot.p6 (limited to 'examples/01-uppercase-bot.p6') 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 ; +use IRC::Client; +.run with IRC::Client.new: + :nick + :host + :channels<#zofbot> + :debug + :plugins(class { method irc-to-me ($_) { .text.uc } }) -- cgit v1.1