Merge pull request #56 from 9uuso/master

Fix commands to correspond parameter name
This commit is contained in:
Thomas Jager 2015-03-22 08:39:03 +01:00
commit 47e552f62d

View File

@ -41,9 +41,9 @@ Events for callbacks
AddCallback Example AddCallback Example
------------------- -------------------
ircobj.AddCallback("PRIVMSG", func(event *irc.Event) { ircobj.AddCallback("PRIVMSG", func(event *irc.Event) {
//e.Message() contains the message //event.Message() contains the message
//e.Nick Contains the sender //event.Nick Contains the sender
//e.Arguments[0] Contains the channel //event.Arguments[0] Contains the channel
}); });
Commands Commands