Optional
channelsChannel cache control.
By default, nothing is cached. Cache is enabled on a per-key basis, meaning you specify what keys of data you wish to keep cached.
Keep in mind that even if you select to cache data, that data may not be available until specific gateway dispatches are received.
Defining an empty array ([]
) will only cache the required data, null
or undefined
will cache no data.
null
Optional
guildsGuild cache control.
By default, nothing is cached. Cache is enabled on a per-key basis, meaning you specify what keys of data you wish to keep cached.
Keep in mind that even if you select to cache data, that data may not be available until specific gateway dispatches are received.
Defining an empty array ([]
) will only cache the required data, null
or undefined
will cache no data.
null
Optional
membersMember cache control.
By default, nothing is cached. Cache is enabled on a per-key basis, meaning you specify what keys of data you wish to keep cached.
Keep in mind that even if you select to cache data, that data may not be available until specific gateway dispatches are received.
Defining an empty array ([]
) will only cache the required data, null
or undefined
will cache no data.
null
Optional
presencesPresence cache control.
By default, nothing is cached. Cache is enabled on a per-key basis, meaning you specify what keys of data you wish to keep cached.
Keep in mind that even if you select to cache data, that data may not be available until specific gateway dispatches are received.
Defining an empty array ([]
) will only cache the required data, null
or undefined
will cache no data.
null
Optional
rolesRole cache control.
By default, nothing is cached. Cache is enabled on a per-key basis, meaning you specify what keys of data you wish to keep cached.
Keep in mind that even if you select to cache data, that data may not be available until specific gateway dispatches are received.
Defining an empty array ([]
) will only cache the required data, null
or undefined
will cache no data.
null
Optional
usersUser cache control.
By default, nothing is cached. Cache is enabled on a per-key basis, meaning you specify what keys of data you wish to keep cached.
Keep in mind that even if you select to cache data, that data may not be available until specific gateway dispatches are received.
Defining an empty array ([]
) will only cache the required data, null
or undefined
will cache no data.
null
Optional
voiceVoice state cache control.
By default, nothing is cached. Cache is enabled on a per-key basis, meaning you specify what keys of data you wish to keep cached.
Keep in mind that even if you select to cache data, that data may not be available until specific gateway dispatches are received.
Defining an empty array ([]
) will only cache the required data, null
or undefined
will cache no data.
null
Generated using TypeDoc
Cache options.