メインコンテンツまでスキップ

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