Skip to main content
Module

x/harmony/mod.ts>SlashCommandPayload

An easy to use Discord API Library for Deno.
Latest
interface SlashCommandPayload
implements ApplicationCommandPartialPayload
import { type SlashCommandPayload } from "https://deno.land/x/harmony@v2.9.0/mod.ts";

Represents a fully qualified Application Command payload.

Properties

id: string

ID of the Application Command

application_id: string

Application ID

optional
guild_id: string
default_permission: boolean
type: ApplicationCommandType
options: ApplicationCommandOptionPayload[]