1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2025-03-22 18:09:21 +00:00

Discord: (*Member).Mention proper format (#164)

This commit is contained in:
Terra Brown 2020-11-18 18:55:15 -05:00 committed by diamondburned
parent 0cb65e88a8
commit 545149cd5a

View file

@ -375,7 +375,7 @@ type Member struct {
// Mention returns the mention of the role.
func (m Member) Mention() string {
return m.User.Mention()
return "<@!" + m.User.ID.String() + ">"
}
// https://discord.com/developers/docs/resources/guild#ban-object