Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oasis/tests/deps.ts>getApplicationCommand

An object oriented Discordeno framework
Latest
function getApplicationCommand
import { getApplicationCommand } from "https://deno.land/x/oasis@2.1.0/tests/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