Interface CollectionLimitsOptions

Hierarchy

  • CollectionLimitsOptions

Properties

members?: number | Record<string, number>

The maximum number of members to cache. A number to apply to all guilds individually, or a dictionary of guild IDs to member limits. The key unknown can be used to set the limit for all guilds not specified.

Note: If you request members from the gateway, this will be increased (on the specific guild) as needed to accommodate those members.

Default Value

Infinity

messages?: number

The maximum number of messages to cache.

Default Value

100

users?: number

The maximum number of users to cache globally.

Default Value

Infinity