robotty / dank-twitch-irc

Connect to Twitch chat from Node.js
https://www.npmjs.com/package/dank-twitch-irc
MIT License
88 stars 25 forks source link

random fails when trying to send a message #302

Closed Enji0 closed 2 years ago

Enji0 commented 3 years ago

dank-twitch-irc randomly fails when trying to send a message with this error: SayError: Failed to say [#channel]: message: Timed out after waiting for response for 2000 milliseconds

RAnders00 commented 3 years ago

does the message actually end up being sent to that twitch channel, i.e. can you see the bot posting the message when watching twitch chat?

Enji0 commented 3 years ago

No, the message don't end up being sent to the twitch channel. btw, I'm using await client.say(channel, message)

RAnders00 commented 3 years ago

Then the error message is right of course, it informs you that the message could not be delivered.

Enji0 commented 3 years ago

I still sometimes get this error when I'm not using await