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