You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.
Hello, I am getting such error (btw which crashes the app, which imho should not happen as discord is just a notification and not a critical piece of the program):
2022-09-17 22:38:45: Unhandled Rejection at: Promise { <rejected> 'Error while trying to send the discord webhook' }
2022-09-17 22:38:45: Unhandled Rejection Reason: Error while trying to send the discord webhook
My bet is that the message is too long, because after disabling debug, it works fine.
The text was updated successfully, but these errors were encountered:
A big problem with how the bot is handling webhooks is that there is no cooldown or waiting applied which causes the channel webhooks to get ratelimited, if all event types are enabled the bot can end up sending way too many messages super fast, specially when starting it.
A good solution would probably be a way of combining several events in a single embed message instead of each event sending it's own.
For me a solution was using ttvdropbot_webhookevents with the following event types:
"claim newdrop newgame progress start error getresult"
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello, I am getting such error (btw which crashes the app, which imho should not happen as discord is just a notification and not a critical piece of the program):
My bet is that the message is too long, because after disabling debug, it works fine.
The text was updated successfully, but these errors were encountered: