More than one callback in example
This commit is contained in:
parent
e554b8b4a0
commit
abc18957ff
@ -27,5 +27,5 @@ func main() {
|
||||
irccon.ReplaceCallback("001", 3, func(e *irc.IRCEvent) { irccon.Join("#testgo04") })
|
||||
irccon.ReplaceCallback("001", 4, func(e *irc.IRCEvent) { irccon.Join("#testgo05") })
|
||||
irccon.ReplaceCallback("001", 6, func(e *irc.IRCEvent) { irccon.Join("#testgo06") })
|
||||
irccon.Loop();
|
||||
irccon.Loop()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user