Skip to content

ChooseOptions beta ​

Interface of @v12-engine/client

ts
export interface ChooseOptions

How a choice is asked (cut.choose): its name (the cut's param the answer is kept in, and what the rules hear: choice when left out), a question over the answers, the seconds it waits at most and the answer it takes then (the first when left out)

Members ​

default ​

ts
default?: string;

The id of the answer taken when the time is up; the first when left out

name ​

ts
name?: string;

The cut param the answer is kept in, and what the rules hear; choice when left out

question ​

ts
question?: string;

A question shown over the answers; none when left out

seconds ​

ts
seconds?: number;

The most seconds it waits for an answer; without a limit when left out