Package-level declarations

Types

Link copied to clipboard
typealias ArgumentFetcher<T> = (String, KClass<T>) -> T?
Link copied to clipboard
data class CommandContext<out S>(val source: S, val input: String, val argumentFetcher: ArgumentFetcher<*>, val child: CommandContext<S>?, val forks: Boolean)
Link copied to clipboard
data class StringRange(val start: Int, val end: Int)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
inline operator fun <T : Any> CommandContext<*>.get(name: String): T
operator fun <T : Any> CommandContext<*>.get(name: String, clazz: KClass<T>): T