diff options
-rw-r--r-- | README.md | 7 | ||||
-rw-r--r-- | examples/bot.pl6 | 1 |
2 files changed, 5 insertions, 3 deletions
@@ -13,9 +13,10 @@ IRC::Client - Extendable Internet Relay Chat client use IRC::Client::Plugin::Debugger; 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; ``` diff --git a/examples/bot.pl6 b/examples/bot.pl6 index 76c9fbb..b5adb16 100644 --- a/examples/bot.pl6 +++ b/examples/bot.pl6 @@ -5,6 +5,7 @@ use IRC::Client::Plugin::Debugger; my $irc = IRC::Client.new( :host('10.10.11.12'), + :channels<#perl6bot #zofbot> :debug, plugins => [ IRC::Client::Plugin::Debugger.new |