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
• 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.Version 14 has released! Please update at your earliest convenience.
• Update:
npm rm discord.js
npm i discord.js
• Update guide (use CTRL
+ F
to search for the old method or property)why should i pass to the next version ?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
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
You can install nodemon
Every time you make a change in your files it will automatically restart
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View