|
// Dispatch the line to several channels. |
|
// We need this for QUIT for example, which goes to all channels |
|
// that user was in. |
|
func (dis *Dispatcher) DispatchMany(l *line.Line, channels []string) { |
|
|
|
for _, chName := range channels { |
|
l.Channel = chName |
|
dis.Dispatch(l) |
|
} |
|
} |
If the ChatBotId/Channel don't match the plugins won't be able to process the line.
botbot-bot/dispatch/dispatch.go
Lines 55 to 64 in 61b5e64
If the ChatBotId/Channel don't match the plugins won't be able to process the line.