Bot that goes down for no reason

Hello, I have my bot discord. I run the script, it launches the bot and the bot is connected. But a few minutes later, the cpu starts to increase to 100% and the bot disconnects. Can anyone help me?
No description
No description
2 Replies
d.js toolkit
d.js toolkit15mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP
Jmx
JmxOP15mo ago
discord.js: 14.13.0 node.js: 18 I should point out that I haven't changed the code since. I don't see how loops or tasks use up all the resources, and what's more, I've set 2 shards, shard 0 is up and shard 1 is down. Without error code OK, thanks anyway ^^
Want results from more Discord servers?
Add your server