CommandValueArgument

See also

Properties

Link copied to clipboard
abstract val type: KType
Link copied to clipboard
abstract val typeVariants: List<TypeVariant<*>>

Intrinsic variants of this argument.

Link copied to clipboard
abstract val value: Message

MessageContent if single argument MessageChain is vararg

Inheritors

Link copied to clipboard

Extensions

Link copied to clipboard
fun <T> CommandValueArgument.mapToTypeOrNull(expectingType: KType, context: (KType, Message) -> T?): T?
Link copied to clipboard
fun <T> CommandValueArgument.mapValue(typeVariant: TypeVariant<T>): T