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

x/oasis/packages/deps.ts>CreateBotOptions

An object oriented Discordeno framework
Latest
interface CreateBotOptions
import { type CreateBotOptions } from "https://deno.land/x/oasis@2.1.0/packages/deps.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>