Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throw a more user friendly error when capitals exist in command parameters or convert to lowercase. #196

Closed
uhidontkno opened this issue May 29, 2024 · 1 comment

Comments

@uhidontkno
Copy link

uhidontkno commented May 29, 2024

Feature

Right now, if you try using capital characters in your command parameters, you get a cryptic Discord API error. Either convert to lowercase or throw a user friendly error.

Ideal solution or implementation

An ideal solution is to simply throw a more user friendly error, eg:

error: Capital characters are illegal in command parameters.
[stack trace]
Bun v1.1.10-canary.1+6c9b3de21 (Linux x64)

Alternative solutions or implementations

An alternative solution could be to simply convert command parameters to lowercase automagically to prevent the error altogether.

Other context

No response

@socram03
Copy link
Member

For now in seyfert we have no plans to add this type of checking, if it is accepted later this issue will be mentioned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants