Search
Preparing search index...
The search index is not available
Detritus Client
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Detritus Client
structures/applicationcommand
ApplicationCommand
Class ApplicationCommand
Application Command Structure
Hierarchy
BaseStructure
ApplicationCommand
Index
Constructors
constructor
Properties
_keys
application
Id
client
default
Permission
description
guild
Id
id
name
options
type
version
Accessors
_options
Key
hash
is
Clone
key
shard
Id
Methods
[custom]
_get
From
Snake
_set
From
Snake
clone
delete
difference
differences
differences
Between
edit
has
Difference
has
Differences
has
Differences
Between
merge
merge
Value
toJSON
Constructors
constructor
new
Application
Command
(
client
:
ShardClient
, data
:
BaseStructureData
, isClone
?:
boolean
)
:
ApplicationCommand
Parameters
client:
ShardClient
data:
BaseStructureData
Optional
isClone:
boolean
Returns
ApplicationCommand
Properties
Readonly
_keys
_keys
:
BaseSet
<
string
>
= ...
application
Id
application
Id
:
string
= ''
Readonly
client
client
:
ShardClient
default
Permission
default
Permission
:
boolean
= true
description
description
:
string
= ''
Optional
guild
Id
guild
Id
:
string
id
id
:
string
= ''
name
name
:
string
= ''
Optional
options
options
:
BaseCollection
<
string
,
ApplicationCommandOption
>
type
type
:
ApplicationCommandTypes
= ...
version
version
:
string
= ''
Accessors
_options
Key
get
_optionsKey
(
)
:
string
Returns
string
hash
get
hash
(
)
:
string
Returns
string
is
Clone
get
isClone
(
)
:
boolean
Returns
boolean
key
get
key
(
)
:
string
Returns
string
shard
Id
get
shardId
(
)
:
number
Returns
number
Methods
[custom]
[custom]
(
)
:
object
Returns
object
_get
From
Snake
_get
From
Snake
(
key
:
string
)
:
any
Parameters
key:
string
Returns
any
_set
From
Snake
_set
From
Snake
(
key
:
string
, value
:
any
)
:
any
Parameters
key:
string
value:
any
Returns
any
clone
clone
(
)
:
ApplicationCommand
Returns
ApplicationCommand
delete
delete
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
difference
difference
(
key
:
string
, value
:
any
)
:
[
boolean
,
any
]
Parameters
key:
string
value:
any
Returns
[
boolean
,
any
]
differences
differences
(
data
?:
BaseStructureData
)
:
null
|
object
Parameters
Optional
data:
BaseStructureData
Returns
null
|
object
differences
Between
differences
Between
(
structure
:
Structure
)
:
null
|
object
Parameters
structure:
Structure
Returns
null
|
object
edit
edit
(
options
:
Partial
<
CreateApplicationCommand
>
)
:
Promise
<
ApplicationCommand
>
Parameters
options:
Partial
<
CreateApplicationCommand
>
Returns
Promise
<
ApplicationCommand
>
has
Difference
has
Difference
(
key
:
string
, value
:
any
)
:
boolean
Parameters
key:
string
value:
any
Returns
boolean
has
Differences
has
Differences
(
data
?:
BaseStructureData
)
:
boolean
Parameters
Optional
data:
BaseStructureData
Returns
boolean
has
Differences
Between
has
Differences
Between
(
structure
:
Structure
)
:
boolean
Parameters
structure:
Structure
Returns
boolean
merge
merge
(
data
?:
BaseStructureData
)
:
void
Parameters
Optional
data:
BaseStructureData
Returns
void
merge
Value
merge
Value
(
key
:
string
, value
:
any
)
:
void
Parameters
key:
string
value:
any
Returns
void
toJSON
toJSON
(
)
:
object
Returns
object
Exports
structures/applicationcommand
Application
Command
constructor
_keys
application
Id
client
default
Permission
description
guild
Id
id
name
options
type
version
_options
Key
hash
is
Clone
key
shard
Id
[custom]
_get
From
Snake
_set
From
Snake
clone
delete
difference
differences
differences
Between
edit
has
Difference
has
Differences
has
Differences
Between
merge
merge
Value
toJSON
Application
Command
Option
Application
Command
Option
Choice
Application
Command
Permission
Application
Command
Permissions
Generated using
TypeDoc
Application Command Structure