Open S-S-X opened 3 years ago
some rate-limiting on the proxy-side would mitigate that for irc, never seen a "excess flood" warning on the discord side but it may be a good idea too
Disregard my previous statement about the discord-warning, looks like it happens there too:
beerchat-proxy_1 | /data/node_modules/discord.js/src/rest/RequestHandler.js:154
beerchat-proxy_1 | throw new DiscordAPIError(request.path, data, request.method, res.status);
beerchat-proxy_1 | ^
beerchat-proxy_1 |
beerchat-proxy_1 | DiscordAPIError: Invalid Form Body
beerchat-proxy_1 | content: Must be 2000 or fewer in length.
beerchat-proxy_1 | at RequestHandler.execute (/data/node_modules/discord.js/src/rest/RequestHandler.js:154:13)
beerchat-proxy_1 | at runMicrotasks (<anonymous>)
beerchat-proxy_1 | at processTicksAndRejections (node:internal/process/task_queues:93:5)
beerchat-proxy_1 | at async RequestHandler.push (/data/node_modules/discord.js/src/rest/RequestHandler.js:39:14) {
beerchat-proxy_1 | method: 'post',
beerchat-proxy_1 | path: '/channels/701824529290362971/messages',
beerchat-proxy_1 | code: 50035,
beerchat-proxy_1 | httpStatus: 400
maybe nobody noticed my mistake there yet 🙄