Hello guys, i used twitch-js - npm library for my bot.
The bot works on a 1 large channel, something like 10k+ viewers.
When i notice chat spam, i got problems.
I have an moderation system, what check for caps, links, e.t.c.
And, when chat start to be very fast, very spammy
, bot doing much timeouts.
Possible i need ask library devs, but may it be twitch limits? Also my bot is verifyed (not veryfied twitch partner, i mean my bot has a verifyed status)
(node:23) UnhandledPromiseRejectionWarning: ERROR: say timed out
(node:23) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 54)
ERROR PRIVMSG/#stray228 :/timeout leave_me_alonexx 1 ERROR: say timed out
(node:23) UnhandledPromiseRejectionWarning: ERROR: say timed out
(node:23) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 56)
I added additional .catch for say()
and timeout()
functions, and will wait for mine results, but maybe you can say me something new.