createCommandChoice

fun createCommandChoice(name: String, value: String): CommandChoice

Creates a CommandChoice that can be used inside Command args

Return

CommandChoice

Parameters

name

The name of the choice

value

The value representing this choice