Skip to main content

Interface: BooleanArgumentContext

The context for the 'boolean' argument.

Since

4.2.0 (🌿)

Extends

Properties

args

args: Args

Inherited from

Argument.Context.args

Source

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


argument

argument: IArgument<unknown>

Inherited from

Argument.Context.argument

Source

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


command

command: MessageCommand

Inherited from

Argument.Context.command

Source

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


commandContext

commandContext: MessageCommandContext

Inherited from

Argument.Context.commandContext

Source

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']

Source

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


inclusive?

optional inclusive: boolean

Inherited from

Argument.Context.inclusive

Source

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


maximum?

optional maximum: number

Inherited from

Argument.Context.maximum

Source

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


message

message: Message<boolean>

Inherited from

Argument.Context.message

Source

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


minimum?

optional minimum: number

Inherited from

Argument.Context.minimum

Source

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']

Source

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