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

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.