fix command parameters
This commit is contained in:
parent
5e6704d895
commit
f467f72ebb
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user