Skip to main content

You are looking at documentation for CommandKit version 0.1.10 which is no longer actively maintained. We highly recommend you to upgrade to CommandKit v1.

Version: 0.1.10

CommandProps

CommandProps

Props for command run functions.

PropertyTypeValueDescription
clientClient<true>N/AThe Discord.js client object that CommandKit is handling.
handlerCommandKitN/AThe current CommandKit handler instance.
interactionChatInputCommandInteraction<CacheType> | MessageContextMenuCommandInteraction<CacheType> | UserContextMenuCommandInteraction<CacheType> | AutocompleteInteraction<CacheType> | ContextMenuCommandInteraction<CacheType>N/AThe current command interaction object.