Skip to content
On this page

Interface

Options used when creating/updating level-role documents.

Must be simply-xp-levelroles when using the data properties below.

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).