LakeYS / Discord-Trivia-Bot

TriviaBot: Play trivia in Discord! Powered by discord.js and OpenTDB, with 24 categories and three modes of play.
http://lakeys.net/triviabot/
Apache License 2.0
84 stars 39 forks source link

Shards stuck offline with status "3" (IDLE) and never reset #181

Closed LakeYS closed 3 years ago

LakeYS commented 4 years ago

Checked with the following code:

manager.broadcastEval("console.log(client.shard.id, client.status);");

Reset code:

 manager.broadcastEval("if(client.shard.id === 12) process.exit();");

See also: #175

This happened to a number of shards at once, indicating some sort of cascading failure.

LakeYS commented 4 years ago

No-longer to replicate this particular issue, however there is now a similar issue of shards hanging on "DISCONNECTED" (5) and "CONNECTING" (1)

LakeYS commented 3 years ago

Stale