import { createGuildApplicationCommand } from "https://deno.land/x/discordeno_patched@18.0.3/helpers/interactions/commands/mod.ts";
Creates an application command only accessible in a specific guild.
Parameters
bot: Bot
- The bot instance to use to make the request.
command: CreateApplicationCommand
- The command to create.
guildId: BigString
- The ID of the guild to create the command for.
Returns
Promise<ApplicationCommand>
An instance of the created ApplicationCommand.