Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added freenodebot.pl, a simple example script.

  • Loading branch information...
commit 1639838329d8a95afe0527e7b203c00feca16878 1 parent 1e6a243
Jarrod authored
Showing with 15 additions and 0 deletions.
  1. +15 −0 Freenodebot.pl
View
15 Freenodebot.pl
@@ -0,0 +1,15 @@
+#!/usr/bin/env perl6
+use v6;
+use Net::IRC::Bot;
+use Net::IRC::Modules::ACME;
+use Net::IRC::Modules::Autoident;
+
+Net::IRC::Bot.new(
+ nick => 'Unicron',
+ server => 'irc.freenode.org',
+ channels => <#bottest>,
+ modules => (
+ Net::IRC::Modules::ACME::Eightball.new,
+ Net::IRC::Modules::ACME::Unsmith.new
+ ),
+).run;
Please sign in to comment.
Something went wrong with that request. Please try again.