Skip to main content
Latest
interface EditGlobalApplicationCommand
Re-export
import { type EditGlobalApplicationCommand } from "https://deno.land/x/discordeno_cache_plugin@0.0.21/deps.ts";

Properties

optional
name: string

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

optional
description: string

1-100 character description

The type of the command

optional
options: ApplicationCommandOption[] | null

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