diff --git a/README.pod b/README.pod index 935b3cb..f8eeb6b 100644 --- a/README.pod +++ b/README.pod @@ -12,7 +12,7 @@ Elegant. Simple. Probably compiles. has %enemies = ('bob', 'sam', 'chanserv') X=> 1; #Magical type constraints only let this event be called when $e.who is an enemy multi method said ($e where {.who ~~ %enemies}) { - $e.reply($e.msg); #Parrot back what was said; + $e.msg($e.what); #Parrot back what was said; } } @@ -20,7 +20,7 @@ Elegant. Simple. Probably compiles. class AnnoyUsers does ExtraAnnoying { #Will be called when the bot gets a join event multi method joined ($e) { - $e.reply("Hi there, {$e.who}!"); + $e.msg("Hi there, {$e.who}!"); } } @@ -31,7 +31,6 @@ Elegant. Simple. Probably compiles. channels => <#bottest>, modules => ( - Net::IRC::DefaultHandlers.new(), AnnoyUsers.new(), Autoident.new(password => 'nspassw0rd') ),