toggle menu
BotCommands
JVM
switch theme
search in API
BotCommands
/
io.github.freya022.botcommands.api.core.utils
/
RestResult
/
Companion
/
success
success
fun
<
T
>
success
(
value
:
T
)
:
RestResult
<
T
>
(
source
)
Returns an instance that encapsulates the given
value
as successful value.