resolve
open fun resolve(option: MessageContextCommandOption, event: MessageContextInteractionEvent): R?(source)
Returns a resolved object from this message context interaction.
If this returns null
, and the parameter is required, i.e., not nullable or optional, then the handler will throw.
Parameters
option
The option currently being resolved
event
The corresponding event
Deprecated
Replaced MessageCommandInfo with MessageContextCommandOption