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:
parent
fea383c61b
commit
61f2ed7363
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue