Skip to content

CacheManagerStructure

Properties

guilds

readonly guilds: MapLike<any>

Defined in

typings/cache-manager.ts:11


channels

readonly channels: MapLike<any>

Defined in

typings/cache-manager.ts:12


voiceStates

readonly voiceStates: MapLike<any>

Defined in

typings/cache-manager.ts:13


set()

set: (type, id, payload) => Awaitable<void>

Parameters

ParameterType
typeCacheElementType
idstring
payloadunknown

Returns

Awaitable<void>

Defined in

typings/cache-manager.ts:15


get()

get: (type, id) => Awaitable<undefined | Record<string, unknown>>

Parameters

ParameterType
typeCacheElementType
idstring

Returns

Awaitable<undefined | Record<string, unknown>>

Defined in

typings/cache-manager.ts:16


delete()

delete: (type, id) => Awaitable<boolean>

Parameters

ParameterType
typeCacheElementType
idstring

Returns

Awaitable<boolean>

Defined in

typings/cache-manager.ts:17