LevelRoleOptions
Sur cette page
Interface
Ce contenu n’est pas encore disponible dans votre langue.
Options used when creating/updating level-role documents.
collection — “simply-xp-levelroles”
Section titled “collection — “simply-xp-levelroles””Must be simply-xp-levelroles when using the data properties below.
data — object
Section titled “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). |