transform

open suspend override fun transform(input: I, context: DiscordContext): Result<O2>

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.