IntegerArgumentType

class IntegerArgumentType @JvmOverloads constructor(val minimum: Int, val maximum: Int, val examples: Set<String> = emptySet()) : RangedArgumentType<Int>

Constructors

Link copied to clipboard
constructor(minimum: Int, maximum: Int, examples: Set<String> = emptySet())

Types

Link copied to clipboard

Properties

Link copied to clipboard
open override val examples: Set<String>
Link copied to clipboard
open override val maximum: Int
Link copied to clipboard
open override val minimum: Int

Functions

Link copied to clipboard
open suspend fun <S> listSuggestions(context: CommandContext<S>?, builder: SuggestionsBuilder): Suggestions
Link copied to clipboard
open override fun parse(reader: StringReader): Int
Link copied to clipboard
open override fun toString(): String