transform
open suspend override fun transform(input: Role, context: DiscordContext): Result<Role>
Content copied to clipboard
Transforms a value produced by a slash command or by the parse function.
Return
Result subtype Success or Error.
Parameters
input
The input data of the type Input
context
The DiscordContext created by the execution of the command.