detritus

ApplicationCommandclass

Application Command Structure

On this page

Application Command Structure

import { Structures } from 'detritus-client';

Structures.ApplicationCommand;
StructureBaseStructureApplicationCommand
19 properties3 methods15 inheritedsrc/structures/applicationcommand.ts:55

Constructor

Properties

applicationId
string
Default ''
client
readonly
Inherited from BaseStructure.client
contexts?
optional
defaultMemberPermissions
bigint | null
Default null
defaultPermission
boolean
Default true
description
string
Default ''
descriptionLocalizations
Record<string, string | undefined> | null
Default null
dmPermission
boolean
Default true
guildId?
string
optional
handler?
id
string
Default ''
integrationTypes?
name
string
Default ''
nameLocalizations
Record<string, string | undefined> | null
Default null
nsfw?
boolean
optional
options?
type
Default ApplicationCommandTypes.CHAT_INPUT
version
string
Default ''

Accessors

hash
string
get
isClone
boolean
get
Inherited from BaseStructure.isClone
key
string
get
shardId
number
get
Inherited from BaseStructure.shardId

Methods