Interface ClientOptions

Hierarchy

  • ClientOptions

Properties

allowedMentions?: AllowedMentions

The default allowed mentions object.

Default Value

auth?: null | string

Fully qualified authorization string (e.x. Bot [TOKEN]) - you MUST prefix it yourself

collectionLimits?: CollectionLimitsOptions

The maximum number of items that can be present in various collections.

defaultImageFormat?: "jpg" | "jpeg" | "png" | "webp" | "gif"

The default image format to use.

Default Value

png

defaultImageSize?: number

The default image size to use.

Default Value

4096

disableCache?: boolean | "no-warning"

Enable to disable as much caching as reasonably possible. You should only enable this option if you absolutely know what you are doing. This will break many features that rely on caching. Unless set to the literal string "no-warning", this will emit a node warning (via process.emitWarning) when the client is constructed.

Default Value

false

disableMemberLimitScaling?: boolean

When member limits are set on guilds, the limit is automatically raised if needed when requesting members from the gateway. This can be buggy and may not function correctly.

Default Value

false

gateway?: GatewayOptions

The gateway options.

The options for the request handler.