transform

open suspend override fun transform(input: String, context: DiscordContext): Result<GuildEmoji>

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.