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

x/natico/examples/deps.ts>DiscordenoApplicationCommand

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

Properties

id: bigint

Unique id of the command

applicationId: bigint

Unique id of the parent application

optional
guildId: bigint

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
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