Interface: CommandParameters
Classdesc
Parameters passed to a command execution.
Property
The client client instance.
Property
The message that triggered the command.
Property
The interaction that triggered the command.
Property
The arguments passed to the command.
Properties
args
• args: Map
<string
, any
>
Defined in
client
• client: Client
<boolean
>
Defined in
framework
• framework: ZumitoFramework
Defined in
guildSettings
• Optional
guildSettings: any
Defined in
interaction
• Optional
interaction: CommandInteraction
<CacheType
>
Defined in
message
• Optional
message: Message
<boolean
>
Defined in
trans
• trans: (key
: string
, params?
: any
) => string
Type declaration
▸ (key
, params?
): string
Parameters
Name | Type |
---|---|
key | string |
params? | any |
Returns
string