does the bot log out after some time

when using
client.login(token);
client.login(token);
does the bot log out after some time? do i need to keep my computer on in order for the bot to stay online? i literally just started with this so sorry if this is a dumb question 😔
4 Replies
d.js toolkit
d.js toolkit•3mo 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 staff
treble/luna
treble/luna•3mo ago
you need a host yes #resources has some
Mark
Mark•3mo ago
You can run it on a local machine, but it does need to be running for the node process to keep running your bot
uhh
uhhOP•3mo ago
alright i'll probably use google cloud if i can figure this whole thing out 😓 thanks for the fast replies :)
Want results from more Discord servers?
Add your server