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:
parent
0cb65e88a8
commit
545149cd5a
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue