Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Extremely Popular
Go to Latest
function getApplicationCommand
import { getApplicationCommand } from "https://deno.land/x/discordeno@13.0.0-rc45/plugins/fileloader/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