Optional
allowedMentions
allowedMentions?: MessageMentionOptions
Optional
botId
botId?: string
Optional
closeTimeout
closeTimeout?: number
Optional
enforceNonce
enforceNonce?: boolean
Optional
failIfNotExists
failIfNotExists?: boolean
intents
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>
Optional
jsonTransformer
jsonTransformer?: ((obj: unknown) => unknown)
Optional
makeCache
makeCache?: CacheFactory
Optional
partials
partials?: readonly Partials[]
Optional
presence
presence?: PresenceData
Optional
rest
rest?: Partial<RESTOptions>
Optional
shardCount
shardCount?: number
Optional
shards
shards?: number | readonly number[] | "auto"
Optional
silent
silent?: boolean
Optional
sweepers
sweepers?: SweeperOptions
Optional
waitGuildTimeout
waitGuildTimeout?: number
Optional
ws
ws?: WebSocketOptions
Set the guilds globally for application commands