Static Private Readonly DESC_Static Private Readonly DESC_Static Private Readonly NAME_Static Private Readonly NAME_Static Private Readonly NAME_Static validateValidate a given slash command.
The slash command to validate.
Throws if command name is too short or too long.
Throws if command name contains invalid characters (i.e. upper-cased characters).
Throws if command description is too short or too long.
Throws if any command alias is too short or too long.
Throws if any command alias contains invalid characters (i.e. upper-cased characters).
Static Private validateStatic Private validateGenerated using TypeDoc
A validator class to verify if the information of a slash command valid and can be deployed.