Skip to main content
The Deno 2 Release Candidate is here
Learn more
function getGlobalApplicationCommand
import { getGlobalApplicationCommand } from "https://deno.land/x/discordeno_patched@18.0.2/plugins/validations/deps.ts";

Gets a global application command by its ID.

Parameters

bot: Bot
  • The bot instance to use to make the request.
commandId: BigString
  • The ID of the command to get.