From 64660379478e89692d99f0824011948024438d9d Mon Sep 17 00:00:00 2001 From: Barani Kumar S Date: Sat, 26 Oct 2024 00:40:38 +0530 Subject: [PATCH] comments: Fix format --- discord/component.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/component.go b/discord/component.go index 954a951..2d9e7fc 100644 --- a/discord/component.go +++ b/discord/component.go @@ -853,12 +853,12 @@ type DefaultMention struct { roleId RoleID `json:"-"` } -// Creates new DefaultUserMention type with only UserID +// DefaultUserMention creates a new DefaultMention type with only UserID func DefaultUserMention (userId UserID) DefaultMention { return DefaultMention{userId: userId} } -// Creates new DefaultRoleMention type with only RoleID +// DefaultRoleMention creates a new DefaultMention type with only RoleID func DefaultRoleMention(roleId RoleID) DefaultMention { return DefaultMention{roleId: roleId} }