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

x/discordeno/mod.ts>Bot

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

Properties

id: bigint
applicationId: bigint
token: string
intents: GatewayIntents
urlWSS: string
optional
botGatewayData: GetGatewayBot
utils: ReturnType<createUtils>
transformers: Transformers
helpers: ReturnType<createHelpers>
rest: ReturnType<createRestManager>
gateway: ReturnType<createGatewayManager>
events: EventHandlers
handlers: ReturnType<createBotGatewayHandlers>
activeGuildIds: Set<bigint>
constants: ReturnType<createBotConstants>
cache: { unrepliedInteractions: Set<bigint>; fetchAllMembersProcessingRequests: Map<string, Function>; }
enabledPlugins: Set<string>
optional
handleDiscordPayload: CreateShardManager["handleMessage"]