1
0
Fork 0
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:
unknown 2021-05-20 23:17:58 +01:00 committed by diamondburned
parent 5b63307a4a
commit a10c4d2062

View file

@ -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()
}