Module

x/discordeno/bot.ts>Bot

Discord API library for Deno
Latest
interface Bot
import { type Bot } from "https://dotland.deno.dev/x/discordeno@18.0.1/bot.ts";

Properties

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