Skip to main content

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​

PropertyTypeOptionalDescription
guildstring❌The guild ID.
levelroleobjectβœ…Object with level and optional roles.
levelrole.levelnumberβœ…The level number (may be null when omitted).
levelrole.rolesArray<string>βœ…Array of role ID strings (may be null/omitted).