aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorZoffix Znet <cpan@zoffix.com>2015-11-25 13:32:59 -0500
committerZoffix Znet <cpan@zoffix.com>2015-11-25 13:32:59 -0500
commitef0a9de8eb4a8c1bf3e82d18b1dadd54637a7c98 (patch)
tree0ff052a924543e0e1bd29465de865e0593ac006f /examples
parentabc2ced0696edd2c8beba2eacd6c65d7854ac417 (diff)
Intermediary
Diffstat (limited to 'examples')
-rw-r--r--examples/bot.pl69
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/bot.pl6 b/examples/bot.pl6
index 4840fab..f2b69ea 100644
--- a/examples/bot.pl6
+++ b/examples/bot.pl6
@@ -1,2 +1,11 @@
use v6;
+use lib 'lib';
use IRC::Client;
+use IRC::Client::Plugin::HNY;
+say "42";
+my $irc = IRC::Client.new(
+ :host('10.10.11.12'),
+ plugins => [
+ IRC::Client::Plugin::HNY.new,
+ ]
+).run;