Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/natico/examples/deps.ts>ApplicationCommand

A powerful and customizable framework for Discordeno
Latest
interface ApplicationCommand
Re-export
import { type ApplicationCommand } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.ts";

Properties

id: string

Unique id of the command

applicationId: string

Unique id of the parent application

optional
guildId: string

Guild id of the command, if not global

name: string

1-32 character name matching

optional
description: string

1-100 character description

optional
options: ApplicationCommandOption[]

The parameters for the command

optional
defaultPermission: 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