Fix webhook EventUserAction messages being skipped (discord) (#1133)
Fixes #1132
This commit is contained in:
parent
52a071e34d
commit
9754569525
|
@ -229,7 +229,7 @@ func (b *Bdiscord) Send(msg config.Message) (string, error) {
|
|||
// Use webhook to send the message
|
||||
if wID != "" && msg.Event != config.EventMsgDelete {
|
||||
// skip events
|
||||
if msg.Event != "" && msg.Event != config.EventJoinLeave && msg.Event != config.EventTopicChange {
|
||||
if msg.Event != "" && msg.Event != config.EventUserAction && msg.Event != config.EventJoinLeave && msg.Event != config.EventTopicChange {
|
||||
return "", nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue