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

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
guildstringThe guild ID.
levelroleobjectObject with level and optional roles.
levelrole.levelnumberThe level number (may be null when omitted).
levelrole.rolesArray<string>Array of role ID strings (may be null/omitted).