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

XpResult extends UserResult

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

PropertyTypeOptionalDescription
_idstringMongoDB document ID.
flagsArrayStored user flags.
guildstringThe guild ID.
userstringThe user ID.
namestringUsername stored for the user.
createdAtstringISO timestamp of creation.
lastUpdatedstringISO timestamp of the last update.
levelnumberThe user's level after the mutation.
xpnumberThe user's XP after the mutation.
xp_ratenumberStored XP rate for the user record.
levelDifferencenumberDifference between the previous and new level.