mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-01-05 19:57:02 +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"`
|
||||
}
|
||||
|
||||
// Mention returns a mention of the user.
|
||||
func (u User) Mention() string {
|
||||
return u.ID.Mention()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue