mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-26 06:31:36 +00:00
Fix previous commit
This commit is contained in:
parent
8779f67d2d
commit
a69ef8402b
@ -127,7 +127,7 @@ func (b *Bdiscord) Send(msg config.Message) (string, error) {
|
|||||||
// Use webhook to send the message
|
// Use webhook to send the message
|
||||||
if wID != "" {
|
if wID != "" {
|
||||||
// skip events
|
// skip events
|
||||||
if msg.Event != "" && msg.Event != EVENT_JOIN_LEAVE && msg.Event != EVENT_TOPIC_CHANGE {
|
if msg.Event != "" && msg.Event != config.EVENT_JOIN_LEAVE && msg.Event != config.EVENT_TOPIC_CHANGE {
|
||||||
return "", nil
|
return "", nil
|
||||||
}
|
}
|
||||||
b.Log.Debugf("Broadcasting using Webhook")
|
b.Log.Debugf("Broadcasting using Webhook")
|
||||||
|
Loading…
Reference in New Issue
Block a user