Skip to main content
Go to Latest
interface CreateBotOptions
import { type CreateBotOptions } from "https://deno.land/x/discordeno@13.0.0-rc45/template/minimal/deps.ts";

Properties

token: string
botId: bigint
optional
applicationId: bigint
optional
secretKey: string
events: Partial<EventHandlers>
intents: (keyof GatewayIntents)[]
optional
botGatewayData: GetGatewayBot
optional
rest: Omit<CreateRestManagerOptions, "token">
optional
handleDiscordPayload: GatewayManager["handleDiscordPayload"]
optional
utils: Partial<ReturnType<createUtils>>
optional
transformers: Partial<ReturnType<createTransformers>>
optional
helpers: Partial<Helpers>