aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/bot.pl63
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/bot.pl6 b/examples/bot.pl6
index 42f9d77..00a8406 100644
--- a/examples/bot.pl6
+++ b/examples/bot.pl6
@@ -2,9 +2,10 @@ use v6;
use lib 'lib';
use IRC::Client;
use IRC::Client::Plugin::HNY;
-say "42";
+
my $irc = IRC::Client.new(
:host('irc.freenode.net'),
+ :debug,
plugins => [
IRC::Client::Plugin::HNY.new,
]