Skip to main content
Version: Next

ValidationProps

ValidationProps

Props for command validation functions.

PropertyTypeValueDescription
clientClient<true>N/AThe Discord.js client object that CommandKit is handling.
commandObjCommandObjectN/AThe current (local) target command object.
handlerCommandKitN/AThe current CommandKit handler instance.
interactionChatInputCommandInteraction | AutocompleteInteraction | ContextMenuCommandInteractionN/AThe current command interaction object.