diff options
Diffstat (limited to 'examples/bot.pl6')
-rw-r--r-- | examples/bot.pl6 | 9 |
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; |