toggle menu
BotCommands
JVM
switch theme
search in API
BotCommands
/
io.github.freya022.botcommands.api.components.builder.button
/
ButtonFactory
/
withDisabled
with
Disabled
@
CheckReturnValue
fun
withDisabled
(
disabled
:
Boolean
)
:
ButtonFactory
(
source
)
Creates a new button factory with the provided disabled state.