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