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:
Property | Type | Nullable | Description |
---|---|---|---|
_id | string | β | MongoDB object ID |
user | string | β | The ID of the user. |
name | string | β | The name of the user. |
guild | string | β | The guild ID of user. |
lastUpdated | Date | β | String of the last update. |
level | number | β | The level of the user |
xp | number | β | The XP of the user. |
xp_rate | number | β | The XP rate of user. |
levelDifference | number | β | Difference between the old and new level of user |