diff --git a/bridge/discord/helpers.go b/bridge/discord/helpers.go index 4284bf5e..e5df6173 100644 --- a/bridge/discord/helpers.go +++ b/bridge/discord/helpers.go @@ -160,7 +160,7 @@ func (b *Bdiscord) getCategoryChannelName(name, parentID string) string { var ( // See https://discordapp.com/developers/docs/reference#message-formatting. channelMentionRE = regexp.MustCompile("<#[0-9]+>") - userMentionRE = regexp.MustCompile("@[^@\n]{1,32}") + userMentionRE = regexp.MustCompile("\(*@[^@\n]{1,32}(\,|\:|;\))*") emoteRE = regexp.MustCompile(``) )