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

XpResult extends UserResult

This interface extends UserResult with level change information returned by XP mutations.

PropertyTypeOptionalDescription
_idstring✅MongoDB document ID.
flagsArray✅Stored user flags.
guildstring❌The guild ID.
userstring❌The user ID.
namestring✅Username stored for the user.
createdAtstring✅ISO timestamp of creation.
lastUpdatedstring❌ISO timestamp of the last update.
levelnumber❌The user's level after the mutation.
xpnumber❌The user's XP after the mutation.
xp_ratenumber✅Stored XP rate for the user record.
levelDifferencenumber❌Difference between the previous and new level.