diff options
author | Zoffix Znet <cpan@zoffix.com> | 2016-08-07 22:58:46 -0400 |
---|---|---|
committer | Zoffix Znet <cpan@zoffix.com> | 2016-08-07 22:58:46 -0400 |
commit | b1e795877f2447bc634cbb4b269f9ac8bebd67f3 (patch) | |
tree | cfc45f9e3f861f911d0d7294b9434956ad659e35 /examples/02-trickster-bot.p6 | |
parent | 8bb81d24b338773f0c56916f919e0457e0182970 (diff) |
Add `:alias` feature3.006001
Closes #22
Diffstat (limited to 'examples/02-trickster-bot.p6')
-rw-r--r-- | examples/02-trickster-bot.p6 | 1 |
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 |