Interface ClientInstanceOptions

Hierarchy

  • Required<Omit<ClientOptions, "rest" | "gateway" | "collectionLimits" | "disableCache">>
    • ClientInstanceOptions

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: Required<CollectionLimitsOptions>
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
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

restMode: boolean

If rest mode has been enabled.