ValidationProps
ValidationProps
Represents the properties required for validation functions. It includes the client, interaction, command object, and handler.
Signature
interface ValidationProps {
    client: Client<true>;
    interaction:
    | ChatInputCommandInteraction
    | AutocompleteInteraction
    | ContextMenuCommandInteraction;
    commandObj: CommandObject;
    handler: CommandKit;
}
client
property
Client<true>The Discord client instance.
interaction
property
| ChatInputCommandInteraction     | AutocompleteInteraction     | ContextMenuCommandInteractionThe interaction that triggered the command.
commandObj
property
The command object associated with the interaction.
handler
property
The CommandKit handler instance.