diskord
5.2.0
common
diskord-core
/
com.jessecorbett.diskord.api.interaction
/
PatchCommand
Patch
Command
@
Serializable
data
class
PatchCommand
(
val
name
:
String
?
=
null
,
val
description
:
String
?
=
null
,
val
options
:
List
<
CommandOption
>
?
=
null
,
val
defaultPermission
:
Boolean
?
=
null
)
(
source
)
Members
Constructors
Patch
Command
Link copied to clipboard
constructor
(
name
:
String
?
=
null
,
description
:
String
?
=
null
,
options
:
List
<
CommandOption
>
?
=
null
,
defaultPermission
:
Boolean
?
=
null
)
Properties
default
Permission
Link copied to clipboard
@
SerialName
(
value
=
"default_permission"
)
val
defaultPermission
:
Boolean
?
=
null
description
Link copied to clipboard
@
SerialName
(
value
=
"description"
)
val
description
:
String
?
=
null
name
Link copied to clipboard
@
SerialName
(
value
=
"name"
)
val
name
:
String
?
=
null
options
Link copied to clipboard
@
SerialName
(
value
=
"options"
)
val
options
:
List
<
CommandOption
>
?
=
null