Interface: IArgument<T>
Type Parameters
Type Parameter |
---|
T |
Properties
name
readonly
name:string
The name of the argument, this is used to make the identification of an argument easier.
Defined in
projects/framework/src/lib/structures/Argument.ts:28
Methods
run()
run(
parameter
:string
,context
:Context
<T
>):AwaitableResult
<T
>
The method which is called when invoking the argument.
Parameters
Parameter | Type | Description |
---|---|---|
parameter | string | The string parameter to parse. |
context | Context <T > | The context for the method call, contains the message, command, and other options. |