Skip to main content

Interface: BooleanArgumentContext

The context for the 'boolean' argument.

Since

4.2.0 (🌿)

Hierarchy

Properties

args

args: Args

Inherited from

Argument.Context.args

Defined in

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


argument

argument: IArgument<unknown>

Inherited from

Argument.Context.argument

Defined in

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


command

command: MessageCommand

Inherited from

Argument.Context.command

Defined in

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


commandContext

commandContext: MessageCommandContext

Inherited from

Argument.Context.commandContext

Defined in

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


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:140


maximum

Optional maximum: number

Inherited from

Argument.Context.maximum

Defined in

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


message

message: Message<boolean>

Inherited from

Argument.Context.message

Defined in

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


minimum

Optional minimum: number

Inherited from

Argument.Context.minimum

Defined in

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


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