Skip to main content
Extremely Popular
Go to Latest
function getApplicationCommand
import { getApplicationCommand } from "https://deno.land/x/discordeno@13.0.0-rc45/plugins/permissions/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
options: GetApplicationCommand