diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/bot.pl6 | 9 |
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; |