Latest
function createGuildApplicationCommand
import { createGuildApplicationCommand } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/fileloader/deps.ts";

Creates an application command only accessible in a specific guild.

Parameters

bot: Bot
  • The bot instance to use to make the request.
  • The command to create.
guildId: BigString
  • The ID of the guild to create the command for.

Returns

An instance of the created ApplicationCommand.