Let webhook also replace mentions (discord). Closes #502
This commit is contained in:
parent
296428d53e
commit
bd3a3b6eaf
|
@ -163,6 +163,7 @@ func (b *Bdiscord) Send(msg config.Message) (string, error) {
|
|||
}
|
||||
|
||||
msg.Text = helper.ClipMessage(msg.Text, MessageLength)
|
||||
msg.Text = b.replaceUserMentions(msg.Text)
|
||||
err := b.c.WebhookExecute(
|
||||
wID,
|
||||
wToken,
|
||||
|
|
Loading…
Reference in New Issue