From f467f72ebbb45dce8f6864ce2291452a2e4ba0c4 Mon Sep 17 00:00:00 2001 From: Juuso Haavisto Date: Sat, 21 Mar 2015 21:13:32 +0200 Subject: [PATCH] fix command parameters --- README.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.markdown b/README.markdown index 89e009c..3b4eefb 100644 --- a/README.markdown +++ b/README.markdown @@ -41,9 +41,9 @@ Events for callbacks AddCallback Example ------------------- ircobj.AddCallback("PRIVMSG", func(event *irc.Event) { - //e.Message() contains the message - //e.Nick Contains the sender - //e.Arguments[0] Contains the channel + //event.Message() contains the message + //event.Nick Contains the sender + //event.Arguments[0] Contains the channel }); Commands