Skip to main content
Module

x/wackford/discordeno.ts>createGlobalApplicationCommand

The wackiest Discord bot framework for Deno powered by Discordeno
Go to Latest
function createGlobalApplicationCommand
import { createGlobalApplicationCommand } from "https://deno.land/x/wackford@v0.0.5/discordeno.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.