メインコンテンツまでスキップ

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
flagsArray✅The flags of the user.
guildstring❌The guild ID of the user.
userstring✅The ID of the user.
namestring✅The name of the user.
levelnumber✅0The level of the user.
xpnumber✅0The XP of the user.