CacheManagerStructure
Properties
guilds
readonlyguilds:MapLike<any>
Defined in
channels
readonlychannels:MapLike<any>
Defined in
voiceStates
readonlyvoiceStates:MapLike<any>
Defined in
set()
set: (
type,id,payload) =>Awaitable<void>
Parameters
| Parameter | Type |
|---|---|
type | CacheElementType |
id | string |
payload | unknown |
Returns
Awaitable<void>
Defined in
get()
get: (
type,id) =>Awaitable<undefined|Record<string,unknown>>
Parameters
| Parameter | Type |
|---|---|
type | CacheElementType |
id | string |
Returns
Awaitable<undefined | Record<string, unknown>>
Defined in
delete()
delete: (
type,id) =>Awaitable<boolean>
Parameters
| Parameter | Type |
|---|---|
type | CacheElementType |
id | string |
Returns
Awaitable<boolean>