Skip to main content
Module

x/discordeno/mod.ts>getApplicationCommands

Discord API library for Deno
Extremely Popular
Go to Latest
function getApplicationCommands
import { getApplicationCommands } from "https://deno.land/x/discordeno@13.0.0-rc45/mod.ts";

Fetch all the commands for your application. If a guild id is not provided, it will fetch global commands.

Parameters

bot: Bot
optional
guildId: bigint