Skip to main content

Interface: GetXPOptions

Options for retrieving XP data

Examples​

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

Extends​

Properties​

storeId?​

optional storeId: string;

Store identifier for isolating XP data

Default​

'default'

Inherited from​

StoreOptions.storeId