From bd3a3b6eaf061a6352f858c983bd0a8d14118252 Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 22 Sep 2018 22:15:19 +0200 Subject: [PATCH] Let webhook also replace mentions (discord). Closes #502 --- bridge/discord/discord.go | 1 + 1 file changed, 1 insertion(+) diff --git a/bridge/discord/discord.go b/bridge/discord/discord.go index 0265f843..9d7e2d69 100644 --- a/bridge/discord/discord.go +++ b/bridge/discord/discord.go @@ -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,