Skip to main content
interface SlashCommandPartialBase
import { type SlashCommandPartialBase } from "https://deno.land/x/drex@v1.1.1/mod.ts";

Represents the Slash Command (Application Command) payload sent for creating/[bulk] editing.

Properties

name: string

Name of the Application Command

optional
description: string

Description of the Slash Command. Not applicable to Context Menu commands.

optional
options: T[]

Options (arguments, sub commands or group) of the Slash Command. Not applicable to Context Menu commands.

optional
type: T2

Type of the Application Command