Aller au contenu principal

XpResult extends UserResult

This interface is used to show the properties of the returned user.

data object

The data of the user, plus "levelDifference", here are the properties:

PropertyTypeNullableDescription
_idstringMongoDB object ID
userstringThe ID of the user.
namestringThe name of the user.
guildstringThe guild ID of user.
lastUpdatedDateString of the last update.
levelnumberThe level of the user
xpnumberThe XP of the user.
xp_ratenumberThe XP rate of user.
levelDifferencenumberDifference between the old and new level of user