toggle menu
kord-extensions
2.3.6-SNAPSHOT
jvm
switch theme
search in API
kord-extensions
/
dev.kordex.core.commands
/
ChoiceOptionWrapper
/
String
String
class
String
constructor
(
displayName
:
Key
,
description
:
Key
,
body
:
suspend
StringChoiceBuilder
.
(
)
->
Unit
)
:
ChoiceOptionWrapper
<
StringChoiceBuilder
,
String
>
Members
Constructors
String
Link copied to clipboard
constructor
(
displayName
:
Key
,
description
:
Key
,
body
:
suspend
StringChoiceBuilder
.
(
)
->
Unit
)
Properties
body
Link copied to clipboard
val
body
:
suspend
StringChoiceBuilder
.
(
)
->
Unit
choices
Link copied to clipboard
val
choices
:
MutableList
<
ChoiceOptionWrapper.ChoiceWrapper
<
StringChoiceBuilder
,
String
>
>
description
Link copied to clipboard
var
description
:
Key
display
Name
Link copied to clipboard
var
displayName
:
Key
modifiers
Link copied to clipboard
val
modifiers
:
MutableList
<
suspend
StringChoiceBuilder
.
(
)
->
Unit
>
type
Link copied to clipboard
val
type
:
KClass
<
StringChoiceBuilder
>
Functions
apply
Link copied to clipboard
suspend
fun
apply
(
builder
:
StringChoiceBuilder
)
:
StringChoiceBuilder
choice
Link copied to clipboard
fun
choice
(
name
:
Key
,
value
:
String
)
modify
Link copied to clipboard
fun
modify
(
body
:
suspend
StringChoiceBuilder
.
(
)
->
Unit
)
to
Kord
Link copied to clipboard
suspend
fun
toKord
(
)
:
OptionsBuilder