#set($identifier = $r.toString($interaction.identifier)) #set($responseIdentifier = $r.toString($interaction.responseIdentifier))
#if($r.isInvalidResponse($interaction.responseIdentifier))
#if($interaction.minChoices == $interaction.maxChoices && $interaction.minChoices > 0) You must select $interaction.minChoices #if($interaction.minChoices == 1) choice #else choices #end #else You must select #if($interaction.minChoices > 0) at least $interaction.minChoices #if($interaction.maxChoices > 0) and #end #end #if($interaction.maxChoices > 0) at most $interaction.maxChoices #end choices. #end
#end #if($interaction.getPrompt()) #end #if($interaction.getLabel() && !$interaction.getLabel().isEmpty()) #end #set($visibleOrderedChoices = $r.getVisibleOrderedSimpleChoices($interaction)) #foreach($simpleChoice in $visibleOrderedChoices) #if($r.classContains($interaction,"choiceright")) #end #if(!$r.classContains($interaction,"choiceright")) #end #end
$r.renderPrompt($interaction.getPrompt())
$r.subStringBefore($interaction.getLabel(),"|") $r.subStringAfter($interaction.getLabel(),"|")
$r.renderFlowStatics($simpleChoice.getFlowStatics()) $r.renderFlowStatics($simpleChoice.getFlowStatics())