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:
parent
cb28e470c2
commit
6466037947
|
@ -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}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue