indexFunctions
Function: newCloseChoiceOption()
> newCloseChoiceOption(text, options?): CloseChoiceOptionInterface
Defined in: src/narration/classes/CloseChoiceOption.ts:20
Function to create a new choice menu option that will close the menu.
Parameters
text
string | string[]
options?
ChoiceMenuOptionCloseOptions
Returns
Example
newCloseChoiceOption("Return")