Skip to main content
Module

x/harmony/deploy.ts>ApplicationCommand

An easy to use Discord API Library for Deno.
Latest
class ApplicationCommand
import { ApplicationCommand } from "https://deno.land/x/harmony@v2.9.0/deploy.ts";

Constructors

new
ApplicationCommand()

Properties

applicationID: string
defaultPermission: boolean
optional
description: string
optional
guild: Guild
optional
guildID: string
id: string
name: string

Methods

delete(): Promise<void>
edit(data: ApplicationCommandPartial): Promise<void>
handle(func: ApplicationCommandHandlerCallback, options?: { parent?: string; group?: string; }): this

Create a handler for this Slash Command