From c97eb34b64788602713fcc77d3c18ab17b629318 Mon Sep 17 00:00:00 2001 From: Zoffix Znet Date: Mon, 21 Dec 2015 09:10:03 -0500 Subject: Some docs --- examples/bot.pl6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/bot.pl6') diff --git a/examples/bot.pl6 b/examples/bot.pl6 index 20bcb39..76c9fbb 100644 --- a/examples/bot.pl6 +++ b/examples/bot.pl6 @@ -4,7 +4,7 @@ use IRC::Client; use IRC::Client::Plugin::Debugger; my $irc = IRC::Client.new( - :host('localhost'), + :host('10.10.11.12'), :debug, plugins => [ IRC::Client::Plugin::Debugger.new -- cgit v1.1 From 3ef85d79fec87c063aeb00a605fd8d40d2ec5cb4 Mon Sep 17 00:00:00 2001 From: Zoffix Znet Date: Mon, 21 Dec 2015 09:48:38 -0500 Subject: Use a better example --- examples/bot.pl6 | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/bot.pl6') 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 -- cgit v1.1 From ebdb216d4d47e1ab061e3719fe3af01856d2486f Mon Sep 17 00:00:00 2001 From: Zoffix Znet Date: Mon, 21 Dec 2015 09:53:40 -0500 Subject: Use a more idomatic example --- examples/bot.pl6 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'examples/bot.pl6') diff --git a/examples/bot.pl6 b/examples/bot.pl6 index b5adb16..34528c7 100644 --- a/examples/bot.pl6 +++ b/examples/bot.pl6 @@ -4,10 +4,8 @@ use IRC::Client; use IRC::Client::Plugin::Debugger; my $irc = IRC::Client.new( - :host('10.10.11.12'), + :host :channels<#perl6bot #zofbot> - :debug, - plugins => [ - IRC::Client::Plugin::Debugger.new - ] + :debug + :plugins( IRC::Client::Plugin::Debugger.new ) ).run; -- cgit v1.1