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

Limit how frequently the user can send commands to prevent spam. #8

Open
vie-nyx opened this issue Jan 5, 2025 · 2 comments
Open
Assignees

Comments

@vie-nyx
Copy link
Contributor

vie-nyx commented Jan 5, 2025

Problem:
The bot currently lacks a rate-limiting mechanism, which can lead to users spamming commands and overwhelming the bot. This can cause performance issues and degrade the user experience.

Solution:
Implement a rate-limiting system that restricts how frequently users can send commands or interact with the bot within a specified time window.

@vie-nyx
Copy link
Contributor Author

vie-nyx commented Jan 5, 2025

If interested in this feature, I would be happy to implement it. Please feel free to assign this issue to me, and I can provide a pull request with the necessary changes.

@nerdyabhi
Copy link
Owner

@vie-nyx Interesting, just make sure the limit doesn't degrade the user experience.
Assigning the issue.

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