1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-18 21:02:47 +00:00

discord: Use <@x> for member mentions

This commit is contained in:
diamondburned 2023-05-22 06:02:58 -07:00
parent fea383c61b
commit 61f2ed7363
No known key found for this signature in database
GPG key ID: D78C4471CE776659

View file

@ -398,7 +398,7 @@ type Member struct {
// Mention returns the mention of the role. // Mention returns the mention of the role.
func (m Member) Mention() string { func (m Member) Mention() string {
return "<@!" + m.User.ID.String() + ">" return "<@" + m.User.ID.String() + ">"
} }
// AvatarURL returns the URL of the Avatar Image. It automatically detects a // AvatarURL returns the URL of the Avatar Image. It automatically detects a