Skip to main content
Version: v2.0

Interface

This interface describes persisted user data returned by mutation and database helpers.

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.
xpnumber❌The user's XP total.
xp_ratenumberβœ…Stored XP rate for the user record.