diff options
author | Zoffix Znet <cpan@zoffix.com> | 2015-12-21 09:48:38 -0500 |
---|---|---|
committer | Zoffix Znet <cpan@zoffix.com> | 2015-12-21 09:48:38 -0500 |
commit | 3ef85d79fec87c063aeb00a605fd8d40d2ec5cb4 (patch) | |
tree | 4025e3b650914bef26ad827c12728a61d2cb1e2d | |
parent | ebb509e5b106fdf24640b11f32e776f033a314e8 (diff) |
Use a better example
-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 |