Skip to main content

Interface

This interface is used to set the options for level roles in the database.

collection "simply-xp-levelroles"​

Name of collection to use, has to be simply-xp-levelroles when using the properties below.

data object​

The data to set for the level role, here are the properties:

PropertyTypeOptionalDescription
guildstring❌The guild ID of the level role.
levelnumber❌The level of the role.
rolestringβœ…The ID of the role.
timestampDate❌The timestamp of the role.