toggle menu
kord
0.16.0-SNAPSHOT
common
switch theme
search in API
kord-common
/
dev.kord.common.entity
/
SubCommand
Sub
Command
@
Serializable
data
class
SubCommand
(
val
name
:
String
,
val
options
:
Optional
<
List
<
CommandArgument
<
Any
?
>
>
>
=
Optional.Missing()
)
:
Option
(
source
)
Members
Constructors
Sub
Command
Link copied to clipboard
constructor
(
name
:
String
,
options
:
Optional
<
List
<
CommandArgument
<
Any
?
>
>
>
=
Optional.Missing()
)
Properties
name
Link copied to clipboard
open
override
val
name
:
String
options
Link copied to clipboard
val
options
:
Optional
<
List
<
CommandArgument
<
Any
?
>
>
>
type
Link copied to clipboard
open
override
val
type
:
ApplicationCommandOptionType