TextParameterResolver
interface TextParameterResolver<T : ParameterResolver<T, R>, TextParameterResolver<T, R>, R : Any> : IParameterResolver<T> (source)
Resolver for text command options.
Needs to be implemented alongside a ParameterResolver subclass.
Note: You may use QuotableTextParameterResolver in some situations to help with content parsing.
Types supported by default
IMentionable (only when mentioned)
GuildChannel subtypes
Parameters
T
Type of the implementation
R
Type of the returned resolved objects
Inheritors
Properties
Functions
Link copied to clipboard
Returns a help example for the supplied option.
Link copied to clipboard
Returns a resolved object from this text command.
Link copied to clipboard
open suspend fun resolveSuspend(option: TextCommandOption, event: MessageReceivedEvent, args: Array<String?>): R?
Returns a resolved object from this text command.