aboutsummaryrefslogtreecommitdiff
path: root/examples/bot.pl6
diff options
context:
space:
mode:
authorZoffix Znet <zoffixznet@users.noreply.github.com>2015-12-21 09:52:42 -0500
committerZoffix Znet <zoffixznet@users.noreply.github.com>2015-12-21 09:52:42 -0500
commit3be97d3be43be4a40737fa21c033763b29361bea (patch)
tree5ba5df3fcbeb2f640f2dcc9373f2a730a0f80fdc /examples/bot.pl6
parentb8035c1c7840ecb3f6ee2fd46560f41589d846aa (diff)
parentc525790efcc8f1b45c3d236a08da1f8ed122fc9b (diff)
Merge pull request #2 from zoffixznet/bleed
Bleed v 2.001001
Diffstat (limited to 'examples/bot.pl6')
-rw-r--r--examples/bot.pl69
1 files changed, 4 insertions, 5 deletions
diff --git a/examples/bot.pl6 b/examples/bot.pl6
index 20bcb39..34528c7 100644
--- a/examples/bot.pl6
+++ b/examples/bot.pl6
@@ -4,9 +4,8 @@ use IRC::Client;
use IRC::Client::Plugin::Debugger;
my $irc = IRC::Client.new(
- :host('localhost'),
- :debug,
- plugins => [
- IRC::Client::Plugin::Debugger.new
- ]
+ :host<localhost>
+ :channels<#perl6bot #zofbot>
+ :debug
+ :plugins( IRC::Client::Plugin::Debugger.new )
).run;