copygirl / cord

IRC and Discord Chatbot Framework
Other
9 stars 3 forks source link

Bot randomly disconnects from Discord. #16

Open deathspawn opened 7 years ago

deathspawn commented 7 years ago

I haven't seen any error in the backlog about this. Happens at random it seems. The bot will appear offline and stop relaying Discord messages to IRC. Oddly though, it still relays IRC messages to Discord and stays online on IRC.

copygirl commented 7 years ago

Yup, happens to me too and I haven't figured out why. The reason why IRC messages are still relayed to Discord is that even without a direct connection, messages can be sent using a REST endpoint or so.

deathspawn commented 7 years ago

I forgot I ran into a similar problem on another bot.

https://github.com/reactiflux/discord-irc/issues/159

Don't know if it'll help.