Skip to main content

Interface: FlashcoreOptions

Options for Flashcore storage layer operations

Used by low-level storage functions to specify which store to operate on.

Examples​

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

Extends​

Properties​

storeId?​

optional storeId: string;

Store identifier for isolating XP data

Default​

'default'

Inherited from​

StoreOptions.storeId