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?
readonlyoptionalfalses: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?
optionalinclusive:boolean
Defined in: projects/framework/src/lib/structures/Argument.ts:141
Inherited from
Argument.Context.inclusive
maximum?
optionalmaximum: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?
optionalminimum:number
Defined in: projects/framework/src/lib/structures/Argument.ts:139
Inherited from
Argument.Context.minimum
truths?
readonlyoptionaltruths: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']