aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md7
-rw-r--r--examples/bot.pl61
2 files changed, 5 insertions, 3 deletions
diff --git a/README.md b/README.md
index 75fd4ce..77ab9d5 100644
--- a/README.md
+++ b/README.md
@@ -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