Interface ClientOptions

Hierarchy

Properties

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

Type declaration

    • (obj): unknown
    • Parameters

      • obj: unknown

      Returns unknown

makeCache?: CacheFactory
partials?: readonly Partials[]
presence?: PresenceData
rest?: Partial<RESTOptions>
shardCount?: number
shards?: number | readonly number[] | "auto"
sweepers?: SweeperOptions
waitGuildTimeout?: number

Generated using TypeDoc