diff options
author | Zoffix Znet <cpan@zoffix.com> | 2015-12-21 10:03:51 -0500 |
---|---|---|
committer | Zoffix Znet <cpan@zoffix.com> | 2015-12-21 10:05:55 -0500 |
commit | ed8ebb3f17c465fdbd54b82fcb5cb658fe8da5ca (patch) | |
tree | d0dbb8b1713d298d5904ea2c1db6c72ee082db5e | |
parent | 3be97d3be43be4a40737fa21c033763b29361bea (diff) |
Fix doc examples
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -42,14 +42,14 @@ processing the data. use IRC::Client::Plugin; # import constants unit class IRC::Client::Plugin::Debugger is IRC::Client::Plugin; -method register($irc) { +method irc-connected($irc) { Supply.interval( 5, 5 ).tap({ $irc.privmsg($_, "I'm an annoying bot!") for $irc.channels; }) } -method all-events ($irc, $e) { +method irc-all-events ($irc, $e) { say "We've got a private message" if $e<command> eq 'PRIVMSG' and $e<params>[0] eq $irc.nick; |