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