integer

fun integer(name: String, min: Int = Int.MIN_VALUE, max: Int = Int.MAX_VALUE, creator: CommandCreator<RequiredArgumentBuilder<CommandSourceStack, Int>>.() -> Unit = {}): CommandCreator<T>

Adds an integer argument to the command.