You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
throw new Error(WOKCommands > Command "${names[0]}" has "minArgs" property defined without "expectedArgs" property as a slash command.);
^
Error: WOKCommands > Command "gen" has "minArgs" property defined without "expectedArgs" property as a slash command.
anyone know why and when i add the expected args i get this error
throw new DiscordAPIError(data, res.status, request);
^
DiscordAPIError: Invalid Form Body
options[0].name: String value did not match validation regex.
The text was updated successfully, but these errors were encountered:
In this code, a minArgs is stated, but there are no args that exist. Simply adding a expectedArgs: will not fix it, as there needs to be args specified in this. If your command is not using any args, remove any reference to args. In the case of the code I showed, it would simply be removing the minArgs: 0,. See if removing the expectedArgs: and minArgs: 0, fixes the issue.
throw new Error(
WOKCommands > Command "${names[0]}" has "minArgs" property defined without "expectedArgs" property as a slash command.
);^
Error: WOKCommands > Command "gen" has "minArgs" property defined without "expectedArgs" property as a slash command.
anyone know why and when i add the expected args i get this error
DiscordAPIError: Invalid Form Body
options[0].name: String value did not match validation regex.
The text was updated successfully, but these errors were encountered: