aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/02-trickster-bot.p61
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/02-trickster-bot.p6 b/examples/02-trickster-bot.p6
index 574a797..64171a7 100644
--- a/examples/02-trickster-bot.p6
+++ b/examples/02-trickster-bot.p6
@@ -13,6 +13,7 @@ class BFF { method irc-to-me ($ where /'♥'/) { 'I ♥ YOU!' } }
.run with IRC::Client.new:
:nick<MahBot>
+ :alias('foo', /b.r/)
:host(%*ENV<IRC_CLIENT_HOST> // 'irc.freenode.net')
:channels<#zofbot>
:debug