Skip to main content

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

types/CommandParameters.ts:16


client

client: Client<boolean>

Defined in

types/CommandParameters.ts:17


framework

framework: ZumitoFramework

Defined in

types/CommandParameters.ts:18


guildSettings

Optional guildSettings: any

Defined in

types/CommandParameters.ts:19


interaction

Optional interaction: CommandInteraction<CacheType>

Defined in

types/CommandParameters.ts:15


message

Optional message: Message<boolean>

Defined in

types/CommandParameters.ts:14


trans

trans: (key: string, params?: any) => string

Type declaration

▸ (key, params?): string

Parameters
NameType
keystring
params?any
Returns

string

Defined in

types/CommandParameters.ts:20