Aller au contenu principal

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
guildstringThe guild ID of the level role.
levelnumberThe level of the role.
rolestringThe ID of the role.
timestampDateThe timestamp of the role.