Skip to main content
Go to Latest
interface DiscordApplicationCommand
Re-export
import { type DiscordApplicationCommand } from "https://deno.land/x/discordeno@13.0.0-rc45/template/beginner/deps.ts";

Properties

id: string

Unique id of the command

application_id: string

Unique id of the parent application

optional
guild_id: string

Guild id of the command, if not global

name: string

1-32 character name matching

optional
description: string

1-100 character description

The parameters for the command

optional
default_permission: boolean

Whether the command is enbaled by default when the app is added to a guild

The type of command. By default this is a application command(ChatInput).

version: string

Autoincrementing version identifier updated during substantial record changes