User Context Parameter Resolver
interface UserContextParameterResolver<T : ParameterResolver<T, R>, UserContextParameterResolver<T, R>, R : Any> : IParameterResolver<T> (source)
Parameter resolver for parameters of @JDAUserCommand.
Needs to be implemented alongside a ParameterResolver subclass.
Parameters
T
Type of the implementation
R
Type of the returned resolved objects
Functions
Link copied to clipboard
Returns a resolved object from this user context interaction.
Link copied to clipboard
open suspend fun resolveSuspend(option: UserContextCommandOption, event: UserContextInteractionEvent): R?
Returns a resolved object from this user context interaction.