mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-01-07 04:27:18 +00:00
discord: Document User.Mention()
This commit is contained in:
parent
5b63307a4a
commit
a10c4d2062
|
@ -26,6 +26,7 @@ type User struct {
|
||||||
Email string `json:"email,omitempty"`
|
Email string `json:"email,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Mention returns a mention of the user.
|
||||||
func (u User) Mention() string {
|
func (u User) Mention() string {
|
||||||
return u.ID.Mention()
|
return u.ID.Mention()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue