diff options
Diffstat (limited to 'bridge/discord')
-rw-r--r-- | bridge/discord/discord.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/discord/discord.go b/bridge/discord/discord.go index 9d7e2d69..116bf86d 100644 --- a/bridge/discord/discord.go +++ b/bridge/discord/discord.go @@ -423,7 +423,7 @@ func (b *Bdiscord) replaceUserMentions(text string) string { if err != nil { return m } - return member.User.Mention() + return strings.Replace(m, "@"+mention, member.User.Mention(), -1) }) b.Log.Debugf("Message with mention replaced: %s", text) return text |