Update Readme
This commit is contained in:
parent
ea57336e8f
commit
defd1e2189
@ -41,7 +41,7 @@ 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
|
//e.Message() contains the message
|
||||||
//e.Nick Contains the sender
|
//e.Nick Contains the sender
|
||||||
//e.Arguments[0] Contains the channel
|
//e.Arguments[0] Contains the channel
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user