Skip to main content

Interface: EnumArgumentContext

Defined in: projects/framework/src/lib/types/ArgumentContexts.ts:8

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


caseInsensitive?

readonly optional caseInsensitive: boolean

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


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


enum?

readonly optional enum: string[]

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


inclusive?

optional inclusive: boolean

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

Inherited from

Argument.Context.inclusive


maximum?

optional maximum: 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?

optional minimum: number

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

Inherited from

Argument.Context.minimum