Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function createGlobalApplicationCommand
import { createGlobalApplicationCommand } from "https://deno.land/x/discordeno@17.0.1/helpers/interactions/commands/createGlobalApplicationCommand.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.