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

Properties

name: string

1-31 character name matching lowercase ^[\w-]{1,32}$

description: string

1-100 character description

The type of the command

optional
options: ApplicationCommandOption[]

The parameters for the command

optional
defaultPermission: boolean

Whether the command is enabled by default when the app is added to a guild. Default: true