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 |