Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
function getApplicationCommands
import { getApplicationCommands } from "https://deno.land/x/discordeno@13.0.0-rc45/helpers/interactions/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