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

Type

This type describes a level-role document returned by the database. In the current implementation the level/roles are nested under a levelrole object.

Document shape

PropertyTypeOptionalDescription
_idstringMongoDB object ID (when using MongoDB)
guildstringThe guild ID.
levelroleobjectObject containing level and optional roles.
levelrole.levelnumberThe level number.
levelrole.rolesArray<string>Array of role ID strings (may be omitted).
createdAtstringISO timestamp when the document was created.
lastUpdatedstringISO timestamp when the document was last updated.