Skip to main content
Latest
function getApplicationCommand
import { getApplicationCommand } from "https://deno.land/x/discordeno_cache_plugin@0.0.21/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