Interface
Options used when creating/updating level-role documents.
collection β "simply-xp-levelroles"β
Must be simply-xp-levelroles when using the data properties below.
data β objectβ
| Property | Type | Optional | Description |
|---|---|---|---|
guild | string | β | The guild ID. |
levelrole | object | β | Object with level and optional roles. |
levelrole.level | number | β | The level number (may be null when omitted). |
levelrole.roles | Array<string> | β | Array of role ID strings (may be null/omitted). |