Skip to main content

Interface: RecalcOptions

Options for recalculating user levels

Examples

// Default store
await XP.recalcLevel(guildId, userId) // Uses 'default'
// Custom store
await XP.recalcLevel(guildId, userId, { storeId: 'reputation' })

Extends

Properties

storeId?

optional storeId: string;

Store identifier for isolating XP data

Default

'default'

Inherited from

StoreOptions.storeId