Describe the bug
The bot always stops working and goes offline after some specific error.
To Reproduce
The actual origin causing this issues is yet to be found.
Expected behavior
No crash.
Screenshots
Not needed.
Additional context
Error [ERR_IPC_CHANNEL_CLOSED]: Channel closed
at new NodeError (node:internal/errors:371:5)
at process.target.send (node:internal/child_process:721:16)
at /home/discord/clearchat/node_modules/discord.js/src/sharding/ShardClientUtil.js:88:17
at new Promise (<anonymous>)
at ShardClientUtil.send (/home/discord/clearchat/node_modules/discord.js/src/sharding/ShardClientUtil.js:86:12)
at /home/discord/clearchat/node_modules/discord.js/src/sharding/ShardClientUtil.js:122:12
at new Promise (<anonymous>)
at ShardClientUtil.fetchClientValues (/home/discord/clearchat/node_modules/discord.js/src/sharding/ShardClientUtil.js:111:12)
at Timeout.setActivity [as _onTimeout] (/home/discord/clearchat/src/bot.js:39:22)
at listOnTimeout (node:internal/timers:557:17) {
code: 'ERR_IPC_CHANNEL_CLOSED'
}
Describe the bug The bot always stops working and goes offline after some specific error.
To Reproduce The actual origin causing this issues is yet to be found.
Expected behavior No crash.
Screenshots Not needed.
Additional context