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

When the prefix is set to certain characters like: * it can crash the bot #22

Open
MiloIssueTracker opened this issue Jul 5, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@MiloIssueTracker
Copy link
Collaborator

Steps to Reproduce

Try setting the prefix to *

Severity

4

Additional Information

No

Author

RubenJ01: 391583287652515841

@MiloIssueTracker MiloIssueTracker added the bug Something isn't working label Jul 5, 2022
@gaborszita
Copy link
Member

Is this still an issue?

  1. The isValidPrefix method checks if the prefix is a star. If it is, it doesn't allow the user to set the prefix.
  2. I don't see why it would crash the bot. I temporarily removed the check just to test it and I could change the prefix to * without issues.

@gaborszita
Copy link
Member

@RubenJ01 please check this

@RubenJ01
Copy link
Collaborator

RubenJ01 commented Sep 27, 2022

I will have to do some more testing to see if some combination of characters can break the bot but it might already have been fixed as this was a while ago and lots of changes have been made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants