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

Creates an application command accessible globally; across different guilds and channels.

Parameters

bot: Bot
  • The bot instance to use to make the request.
  • The command to create.

Returns

An instance of the created ApplicationCommand.