Work on
This commit is contained in:
parent
a8abfb2219
commit
25243b3a9d
3 changed files with 113 additions and 5 deletions
|
@ -6,10 +6,6 @@ import "time"
|
|||
|
||||
var (
|
||||
_ = linstromNote{}
|
||||
_ = linstromOriginServer{}
|
||||
_ = linstromMediaMetadata{}
|
||||
_ = linstromAccount{}
|
||||
_ = linstromCustomAccountField{}
|
||||
_ = linstromRole{}
|
||||
)
|
||||
|
||||
|
@ -108,7 +104,7 @@ type linstromRole struct {
|
|||
// If two roles have the same priority, the order is undetermined and may be random
|
||||
// Default priority for new roles is 1 to always overwrite default user
|
||||
// And full admin has max priority possible
|
||||
Priority uint `jsonapi:"attr,priority"`
|
||||
Priority uint32 `jsonapi:"attr,priority"`
|
||||
// Whether this role is for a for a single user only (like custom, per user permissions in Discord)
|
||||
// If yes, Name will be the id of the user in question
|
||||
IsUserRole bool `jsonapi:"attr,is-user-role"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue