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:
Property | Type | Optional | Description |
---|---|---|---|
guild | string | ❌ | The guild ID of the level role. |
level | number | ❌ | The level of the role. |
role | string | ✅ | The ID of the role. |
timestamp | Date | ❌ | The timestamp of the role. |