Interface
This interface is used to set the options for the user in the database.
collection "simply-xps"
β
Name of collection to use, has to be simply-xps
when using the properties below.
data object
β
The data to set for the user, here are the properties:
Property | Type | Optional | Default | Description |
---|---|---|---|---|
flags | Array | β | The flags of the user. | |
guild | string | β | The guild ID of the user. | |
user | string | β | The ID of the user. | |
name | string | β | The name of the user. | |
level | number | β | 0 | The level of the user. |
xp | number | β | 0 | The XP of the user. |