The options used to create a ExtendedClient.

Hierarchy

  • ClientOptions
    • ExtendedClientOptions

Properties

allowedMentions?: MessageMentionOptions
closeTimeout?: number

The client's config provider.

debug?: boolean

Whether the client has debug-mode enabled.

Default Value

false

errorOwnerReporting?: boolean

Whether command error reporting should be notified to the client's owner. An owner must be set for this option to work.

Default Value

false

failIfNotExists?: boolean
intents: BitFieldResolvable<"Guilds" | "GuildMembers" | "GuildModeration" | "GuildBans" | "GuildEmojisAndStickers" | "GuildIntegrations" | "GuildWebhooks" | "GuildInvites" | "GuildVoiceStates" | "GuildPresences" | "GuildMessages" | "GuildMessageReactions" | "GuildMessageTyping" | "DirectMessages" | "DirectMessageReactions" | "DirectMessageTyping" | "MessageContent" | "GuildScheduledEvents" | "AutoModerationConfiguration" | "AutoModerationExecution", number>
jsonTransformer?: ((obj) => unknown)

Type declaration

    • (obj): unknown
    • Parameters

      • obj: unknown

      Returns unknown

localizer?: LocalizerOptions

The client's localizer's options.

makeCache?: CacheFactory
owner?: null | string

The ID of the client's owner.

Default Value

null

partials?: Partials[]
prefix?: string

The client's prefix.

Default Value

!

The client's presence manager's options.

Default Value

The PresenceManagerOptions defaults.

rest?: Partial<RESTOptions>
shardCount?: number
shards?: number | number[] | "auto"
sweepers?: SweeperOptions
testingGuildID?: string

The ID of the guild used to test this bot. It is not required, however it is recommended to specify one. This is used to automatically deploy slash commands to the testing guild.

waitGuildTimeout?: number
ws?: WebSocketOptions

Generated using TypeDoc