Interface ClientInstanceOptions

interface ClientInstanceOptions {
    allowedMentions: AllowedMentions;
    auth: null | string;
    collectionLimits: Required<CollectionLimitsOptions>;
    defaultImageFormat: "jpg" | "jpeg" | "png" | "webp" | "gif";
    defaultImageSize: number;
    disableCache: boolean;
    disableMemberLimitScaling: boolean;
    restMode: boolean;
}

Hierarchy

Properties

allowedMentions: AllowedMentions

The default allowed mentions object.

Default Value

{ everyone: false, repliedUser: false, roles: true, users: true }
auth: null | string

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

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.