mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-30 10:43:30 +00:00
comments: Fix format
This commit is contained in:
parent
cb28e470c2
commit
6466037947
|
@ -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}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue