Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
function getApplicationCommand
import { getApplicationCommand } from "https://deno.land/x/discordeno@13.0.0-rc45/template/bigbot/deps.ts";

Fetches the global command for the given Id. If a guildId is provided, the guild command will be fetched.

Parameters

bot: Bot
commandId: bigint
optional
guildId: bigint