summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/bwmarrin
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/bwmarrin')
-rw-r--r--vendor/github.com/bwmarrin/discordgo/message.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/bwmarrin/discordgo/message.go b/vendor/github.com/bwmarrin/discordgo/message.go
index 19345b95..4fd468fd 100644
--- a/vendor/github.com/bwmarrin/discordgo/message.go
+++ b/vendor/github.com/bwmarrin/discordgo/message.go
@@ -237,7 +237,7 @@ func (m *Message) ContentWithMoreMentionsReplaced(s *Session) (content string, e
continue
}
- content = strings.Replace(content, "<&"+role.ID+">", "@"+role.Name, -1)
+ content = strings.Replace(content, "<@&"+role.ID+">", "@"+role.Name, -1)
}
content = patternChannels.ReplaceAllStringFunc(content, func(mention string) string {