stringParameter

fun stringParameter(name: String, description: String, vararg choices: CommandOption.CommandOptionChoice, autocomplete: Boolean = false, optional: Boolean = false): CommandContext.CommandDelegate<String?>(source)