diff --git a/discord/user.go b/discord/user.go index 2d4aace..4a79418 100644 --- a/discord/user.go +++ b/discord/user.go @@ -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() }