import { SlashCommand } from "https://deno.land/x/harmony@v2.8.0/src/interactions/applicationCommand.ts";
Constructors
Properties
optional
guild: Guildoptions: ApplicationCommandOption[]
slash: ApplicationCommandsManager
type: ApplicationCommandType
Methods
delete(): Promise<void>
edit(data: ApplicationCommandPartial): Promise<void>
getPermissions(guild?: Guild | string): Promise<GuildApplicationCommandPermissions>
handle(func: ApplicationCommandHandlerCallback, options?: { parent?: string; group?: string; }): this
Create a handler for this Slash Command
setPermissions(data: ApplicationCommandPermission[], guild?: Guild | string): Promise<GuildApplicationCommandPermissions>