can i do otherwise than `node index.js` to relaunch my bot ?

i would like to stop stop and restart my bot by doing node index.js, do you know if there is a something that i can do ? Thinks.
8 Replies
d.js docs
d.js docs3y ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
Hugo4774
Hugo4774OP3y ago
-- [email protected] v14.15.3
d.js docs
d.js docs3y ago
Version 14 has released! Please update at your earliest convenience. • Update: npm rm discord.js npm i discord.jsUpdate guide (use CTRL + F to search for the old method or property)
Hugo4774
Hugo4774OP3y ago
why should i pass to the next version ?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Hugo4774
Hugo4774OP3y ago
i already got it, thinks. But you have to launch it manually each time you have a modification that you want to refresh :/ you mean that if i stay in this version, my discord bot won't launch ? oh s***, when this will happen ? aaaaAAAAaaaaa
Dagan
Dagan3y ago
You can install nodemon Every time you make a change in your files it will automatically restart
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server