From a10c4d2062c03d1c7925644a6beb97529ee7af41 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 20 May 2021 23:17:58 +0100 Subject: [PATCH] discord: Document User.Mention() --- discord/user.go | 1 + 1 file changed, 1 insertion(+) 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() }