Optional auditThe maximum number of audit log entries to keep cached. Entries are only cached if recieved via the GUILD_AUDIT_LOG_ENTRY_CREATE gateway event.
guild id
50
Optional autoThe maximum number of auto moderation rules to keep cached. Entries are only cached if fetched via REST, or recieved via the AUTO_MODERATION_RULE_CREATE/AUTO_MODERATION_RULE_UPDATE events.
guild id
Infinity
Optional channelsThe maximum number of guild channels to cache.
guild id
Infinity
Optional emojisThe maximum number of guild emojis to cache.
guild id
Infinity
Optional groupThe maximum number of group channels to cache.
10
Optional guildThe maximum number of threads to cache per guild. Setting this too low might cause channels to have missing threads, as they all pull from the guild.
guild id
Infinity
Optional guildsThe maximum number of guilds to cache.
Infinity
Changing this WILL silently break a lot of things which rely on caching.
Optional integrationsThe maximum number of guild integrations to cache.
guild id
Infinity
Optional invitesThe maximum number of guild invites to cache.
guild id
Infinity
Optional membersThe maximum number of members to cache.
Note: If you request members from the gateway, this will be increased (on the specific guild) as needed to accommodate those members.
guild id
Infinity
Optional messagesThe maximum number of messages to cache.
channel id
100
Optional privateThe maximum number of private channels to cache.
25
Optional rolesThe maximum number of roles to cache.
guild id
Infinity
Optional scheduledThe maximum number of scheduled events to cache.
guild id
Infinity
Optional soundboardThe maximum number of soundboard sounds to cache.
guild id
Infinity
Optional stageThe maximum number of stage instances to cache.
guild id
Infinity
Optional stickersThe maximum number of guild stickers to cache.
guild id
Infinity
Optional unavailableThe maximum number of unavailable guilds to cache.
Infinity
Changing this WILL break many things. The client may not even ready poperly.
Optional usersThe maximum number of users to cache globally.
Infinity
Optional voiceThe maximum number of voice members to cache.
guild id
Infinity
Optional voiceThe maximum number of voice states to cache.
guild id
Infinity
Changing many of these may have the side effect of silently breaking various functionalities. Most of these are not intended to be changed, and are only exposed for advanced use cases.
For the options which accept a number and an object:
defaultkey will be used. If thedefaultkey is not present, whatever the default for that specific option is will be used.See the
Dictionary Keyheader for each option for what theidrefers to.