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

Empty generated messages restart the bot #5

Open
williammck opened this issue May 30, 2024 · 0 comments
Open

Empty generated messages restart the bot #5

williammck opened this issue May 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@williammck
Copy link
Member

Currently, we attempt to send all messages regardless of length to Discord's API.
As empty messages return a 400, and we don't catch that exception, the bot errors out and gets restarted.

A/C: Empty messages are no longer sent to Discord

@williammck williammck added the bug Something isn't working label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

1 participant