Skip to main content
Version: Next

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 | MessageContextMenuCommandInteraction | UserContextMenuCommandInteraction | AutocompleteInteraction | ContextMenuCommandInteractionN/AThe current command interaction object.