BuckarooBanzay / beerchat_proxy

IRC/Discord proxy for the beerchat mod
1 stars 0 forks source link

Kicked from IRC because of flooding #71

Open S-S-X opened 3 years ago

S-S-X commented 3 years ago
[10.04.40] * i_am_me (421a06b0@066-026-006-176.inf.spectrum.com) has joined channel #pandorabox
[10.05.51] * i_am_me is now known as Test_User
[10.06.10] --Test_User-- logged in with account (Test_User_Bot)
[10.07.04] * pandorabot (~ircbot@vmi519958.contaboserver.net) Quit (Excess Flood)
[10.07.16] * pandorabot (~ircbot@vmi519958.contaboserver.net) has joined channel #pandorabox
[10.07.16] <pandorabot> beerchat_proxy connected! ingame-channel: main
[10.07.31] * pandorabot (~ircbot@vmi519958.contaboserver.net) Quit (Excess Flood)
[10.07.46] * pandorabot (~ircbot@vmi519958.contaboserver.net) has joined channel #pandorabox
[10.07.46] <pandorabot> beerchat_proxy connected! ingame-channel: main
[10.08.24] * pandorabot (~ircbot@vmi519958.contaboserver.net) Quit (Excess Flood)
[10.08.38] * pandorabot (~ircbot@vmi519958.contaboserver.net) has joined channel #pandorabox
[10.08.38] <pandorabot> beerchat_proxy connected! ingame-channel: main
[10.09.05] <Test_User> someone should fix that... all i asked for was it to list my areas... in a pm
[10.09.45] * Test_User (421a06b0@066-026-006-176.inf.spectrum.com) Quit (Quit: Connection closed
BuckarooBanzay commented 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

BuckarooBanzay commented 3 years ago

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
S-S-X commented 3 years ago

maybe nobody noticed my mistake there yet 🙄