Interface: BooleanArgumentContext
The context for the 'boolean'
argument.
Since
4.2.0 (🌿)
Extends
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?
readonly
optional
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?
readonly
optional
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']