Skip to main content

Interface: BooleanArgumentContext

The context for the 'boolean' argument.

Since

4.2.0 (🌿)

Hierarchy​

  • Context

    ↳ BooleanArgumentContext

Properties​

args​

• args: Args

Inherited from​

Argument.Context.args

Defined in​

projects/framework/src/lib/structures/Argument.ts:135


argument​

• argument: IArgument<unknown>

Inherited from​

Argument.Context.argument

Defined in​

projects/framework/src/lib/structures/Argument.ts:134


command​

• command: MessageCommand

Inherited from​

Argument.Context.command

Defined in​

projects/framework/src/lib/structures/Argument.ts:137


commandContext​

• commandContext: MessageCommandContext

Inherited from​

Argument.Context.commandContext

Defined in​

projects/framework/src/lib/structures/Argument.ts:138


falses​

• Optional Readonly falses: string[]

The words that resolve to false. Any words added to this array will be merged with the words:

['0', 'false', '-', 'f', 'no', 'n']

Defined in​

projects/framework/src/lib/types/ArgumentContexts.ts:33


inclusive​

• Optional inclusive: boolean

Inherited from​

Argument.Context.inclusive

Defined in​

projects/framework/src/lib/structures/Argument.ts:141


maximum​

• Optional maximum: number

Inherited from​

Argument.Context.maximum

Defined in​

projects/framework/src/lib/structures/Argument.ts:140


message​

• message: Message<boolean>

Inherited from​

Argument.Context.message

Defined in​

projects/framework/src/lib/structures/Argument.ts:136


minimum​

• Optional minimum: number

Inherited from​

Argument.Context.minimum

Defined in​

projects/framework/src/lib/structures/Argument.ts:139


truths​

• Optional Readonly truths: string[]

The words that resolve to true. Any words added to this array will be merged with the words:

['1', 'true', '+', 't', 'yes', 'y']

Defined in​

projects/framework/src/lib/types/ArgumentContexts.ts:25