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

patch(robo): prevent endless spam in debug messages #158

Open
Pkmmte opened this issue Dec 14, 2023 — with Volta.net · 0 comments
Open

patch(robo): prevent endless spam in debug messages #158

Pkmmte opened this issue Dec 14, 2023 — with Volta.net · 0 comments
Labels
bug Something isn't working

Comments

Copy link
Member

Pkmmte commented Dec 14, 2023

Sage debug messages are great but sometimes they can be a bit... spammy.

Let's say you have an error inside a messageCreate event and that triggers an error in that same channel, that error message itself also triggers an error, and so forth infinitely.

We should detect when an error is a duplicate and sent within a short timespan (< 1 minute), then artificially cap it after 3 attempts, with the Robo sending a "capped" message as the third.


Changeset: minor

@Pkmmte Pkmmte added the bug Something isn't working label Dec 14, 2023 — with Volta.net
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

1 participant