Argument

data class Argument<T>(val displayName: Key, val description: Key, val converter: Converter<T, *, *, *>)

Data class representing a single argument.

Parameters

displayName

Name shown on Discord in help messages, and used for keyword arguments.

description

Short description explaining what the argument does.

converter

Argument converter to use for this argument.

Constructors

Link copied to clipboard
constructor(displayName: Key, description: Key, converter: Converter<T, *, *, *>)

Properties

Link copied to clipboard
val converter: Converter<T, *, *, *>
Link copied to clipboard
Link copied to clipboard