Skip to main content

Interface: EnumArgumentContext

The context for the 'enum' 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


caseInsensitive?

readonly optional caseInsensitive: boolean

Defined in

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


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


enum?

readonly optional enum: string[]

Defined in

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


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