fix(mentions_list): Use usernames, not display names (#755)
This commit is contained in:
parent
8962b0f8cd
commit
430aa576db
1 changed files with 2 additions and 2 deletions
|
|
@ -572,7 +572,7 @@ func (mi *messageInput) addMentionMember(gID discord.GuildID, m *discord.Member)
|
|||
}
|
||||
|
||||
mi.mentionsList.append(mentionsListItem{
|
||||
insertText: name,
|
||||
insertText: m.User.Username,
|
||||
displayText: name,
|
||||
style: style,
|
||||
})
|
||||
|
|
@ -594,7 +594,7 @@ func (mi *messageInput) addMentionUser(user *discord.User) {
|
|||
}
|
||||
|
||||
mi.mentionsList.append(mentionsListItem{
|
||||
insertText: name,
|
||||
insertText: user.Username,
|
||||
displayText: name,
|
||||
style: style,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue