Skip to main content

Interface: ExtendedArgumentContext

deprecated ExtendedArgument is deprecated and will be removed in v3.0.0.

Hierarchy

  • Context

    โ†ณ ExtendedArgumentContext

Properties

args

โ€ข args: Args

Inherited from

Argument.Context.args

Defined in

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


argument

โ€ข argument: IArgument<unknown>

Inherited from

Argument.Context.argument

Defined in

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


command

โ€ข command: Command<Args, CommandOptions>

Inherited from

Argument.Context.command

Defined in

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


commandContext

โ€ข commandContext: CommandContext

Inherited from

Argument.Context.commandContext

Defined in

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


inclusive

โ€ข Optional inclusive: boolean

Inherited from

Argument.Context.inclusive

Defined in

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


maximum

โ€ข Optional maximum: number

Inherited from

Argument.Context.maximum

Defined in

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


message

โ€ข message: Message<boolean>

Inherited from

Argument.Context.message

Defined in

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


minimum

โ€ข Optional minimum: number

Inherited from

Argument.Context.minimum

Defined in

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


parameter

โ€ข parameter: string

The canonical parameter specified by the user in the command, as a string, equivalent to the first parameter of {@link Argument#run}. This allows {@link ExtendedArgument#handle} to access the original argument, which is useful for returning {@link Argument#error} so that you don't have to convert the parsed argument back into a string.

Defined in

projects/framework/src/lib/structures/ExtendedArgument.ts:115