Interface BotOptions

Hierarchy

Properties

allowedMentions?: MessageMentionOptions
closeTimeout?: number
commands?: Command[]
defaultEvents?: boolean
enforceNonce?: boolean
events?: Event<keyof ClientEvents>[]
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
owner?: string
owners?: string[]
partials?: readonly Partials[]
prefix?: string | RegExp | FunctionPrefix
presence?: PresenceData
rest?: Partial<RESTOptions>
shardCount?: number
shards?: number | readonly number[] | "auto"
sweepers?: SweeperOptions
waitGuildTimeout?: number

Generated using TypeDoc