Skip to main content
Go to Latest
function getApplicationCommands
import { getApplicationCommands } from "https://deno.land/x/discordeno@13.0.0-rc45/plugins/cache/deps.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