Discord bot works but not on my pcs

I have a personal discord bot I use for me and my friends. It used to work fine on my server pc but then one day it decided it didn't want to work anymore. It would join vc but then instantly leave. I then tried to run it on my main pc and it worked fine. After editing the code a little it managed to work on my server pc again. Now it doesn't work on both systems. I tried it on other systems in my house but all of them didn't work. For the fun of it, I tried it on a friends system and it worked no issue. I even tested old code which first had the issue and it worked fine. If anyone has any clue on what the problem is or what a possible solution would be I'm all ears.
3 Replies
d.js toolkit
d.js toolkit•2mo 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!
Charbrose
Charbrose•2mo ago
Sorry if i'm late responding. it is 4am and im heading to bed 🫡
d.js docs
d.js docs•2mo ago
If you aren't getting any errors, try to place console.log checkpoints throughout your code to find out where execution stops. - Once you do, log relevant values and if-conditions - More sophisticated debugging methods are breakpoints and runtime inspections: learn more
Want results from more Discord servers?
Add your server