Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discordeno/bot.ts>CreateBotOptions

Discord API library for Deno
Extremely Popular
Go to Latest
interface CreateBotOptions
import { type CreateBotOptions } from "https://deno.land/x/discordeno@17.2.0/bot.ts";

Properties

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