Skip to main content

Interface: BooleanArgumentContext

Defined in: projects/framework/src/lib/types/ArgumentContexts.ts:17

The context for the 'boolean' argument.

Since​

4.2.0 (🌿)

Extends​

Indexable​

[key: string]: unknown

[key: number]: unknown

[key: symbol]: unknown

Properties​

args​

args: Args

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

Inherited from​

Argument.Context.args


argument​

argument: IArgument<unknown>

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

Inherited from​

Argument.Context.argument


command​

command: MessageCommand

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

Inherited from​

Argument.Context.command


commandContext​

commandContext: MessageCommandContext

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

Inherited from​

Argument.Context.commandContext


falses?​

readonly optional falses: string[]

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

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

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

inclusive?​

optional inclusive: boolean

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

Inherited from​

Argument.Context.inclusive


maximum?​

optional maximum: number

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

Inherited from​

Argument.Context.maximum


message​

message: Message

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

Inherited from​

Argument.Context.message


minimum?​

optional minimum: number

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

Inherited from​

Argument.Context.minimum


truths?​

readonly optional truths: string[]

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

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

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