1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2025-07-13 00:35:36 +00:00

comments: Fix format

This commit is contained in:
Barani Kumar S 2024-10-26 00:40:38 +05:30
parent cb28e470c2
commit 6466037947

View file

@ -853,12 +853,12 @@ type DefaultMention struct {
roleId RoleID `json:"-"` roleId RoleID `json:"-"`
} }
// Creates new DefaultUserMention type with only UserID // DefaultUserMention creates a new DefaultMention type with only UserID
func DefaultUserMention (userId UserID) DefaultMention { func DefaultUserMention (userId UserID) DefaultMention {
return DefaultMention{userId: userId} 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 { func DefaultRoleMention(roleId RoleID) DefaultMention {
return DefaultMention{roleId: roleId} return DefaultMention{roleId: roleId}
} }