ReadonlycacheStaticdefaultShared default max size for all managers (can be changed globally).
deletes a role from the server
the role to delete
A promise that resolves when the role is deleted
the role to edit
data to edit the role with
Represents a role that can be edited in a server.
Optionalcolour?: string | nullColour of the role, or null if no colour is set.
Optionalhoist?: booleanWhether the role is displayed separately in the member list.
Optionalname?: stringName of the role.
Optionalpermissions?: editablePermissionsPermissions to set for the role. Format: { a: allow, d: deny }
Optionalrank?: numberRank of the role, used for ordering.
Optionalremove?: (keyof API.Role & { [key: string]: unknown })[]Fields to remove from the role. Each key corresponds to a field in the Role type.
Role
Optionalcolour?: null | stringOptionalhoist?: booleanFormat: int64
Format: int64
Optionalrank?: numberFormat: int64
Optionalcolour?: null | stringOptionalhoist?: booleanFormat: int64
Format: int64
Optionalrank?: numberFormat: int64
Optionalcolour?: null | stringOptionalhoist?: booleanFormat: int64
Format: int64
Optionalrank?: numberFormat: int64
Adjust the maximum size for this manager at runtime.
Insertion ordered cache of items this manager holds.