Skip to main content

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
_idstringβœ…MongoDB object ID
userstring❌The ID of the user.
namestringβœ…The name of the user.
guildstring❌The guild ID of user.
lastUpdatedDate❌String of the last update.
levelnumber❌The level of the user
xpnumber❌The XP of the user.
xp_ratenumberβœ…The XP rate of user.
levelDifferencenumber❌Difference between the old and new level of user