Aller au contenu principal

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:

PropertyTypeOptionalDefaultDescription
flagsArrayThe flags of the user.
guildstringThe guild ID of the user.
userstringThe ID of the user.
namestringThe name of the user.
levelnumber0The level of the user.
xpnumber0The XP of the user.