CommandProps
CommandProps
Props for command run functions.
Property | Type | Value | Description |
---|---|---|---|
client | Client<true> | N/A | The Discord.js client object that CommandKit is handling. |
handler | CommandKit | N/A | The current CommandKit handler instance. |
interaction | ChatInputCommandInteraction<CacheType> | MessageContextMenuCommandInteraction<CacheType> | UserContextMenuCommandInteraction<CacheType> | AutocompleteInteraction<CacheType> | ContextMenuCommandInteraction<CacheType> | N/A | The current command interaction object. |