yde
1.3.0
jvm
yde
/
io.github.ydwk.yde.builders.slash
/
SlashSubCommand
Slash
Sub
Command
class
SlashSubCommand
(
val
name
:
String
,
val
description
:
String
)
(
source
)
Members
Constructors
Slash
Sub
Command
Link copied to clipboard
constructor
(
name
:
String
,
description
:
String
)
Functions
add
Option
Link copied to clipboard
fun
addOption
(
option
:
SlashOption
)
:
SlashSubCommand
add
Options
Link copied to clipboard
fun
addOptions
(
vararg
options
:
SlashOption
)
:
SlashSubCommand
fun
addOptions
(
options
:
List
<
SlashOption
>
)
:
SlashSubCommand
to
Json
Link copied to clipboard
fun
toJson
(
)
:
JsonNode
Properties
description
Link copied to clipboard
val
description
:
String
name
Link copied to clipboard
val
name
:
String