✨ New function npm start (by Cecemel)
This commit is contained in:
@@ -44,6 +44,7 @@ In the console, type `npm install` to install all dependencies.
|
|||||||
```
|
```
|
||||||
#With Node
|
#With Node
|
||||||
node index.js
|
node index.js
|
||||||
|
npm start #Indicated in package.json
|
||||||
|
|
||||||
#With pm2
|
#With pm2
|
||||||
pm2 start index.js --name "MusicBot"
|
pm2 start index.js --name "MusicBot"
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
"version": "5.0.0",
|
"version": "5.0.0",
|
||||||
"repository": "https://github.com/ZerioDev/Music-bot.git",
|
"repository": "https://github.com/ZerioDev/Music-bot.git",
|
||||||
"description": "A complete code to download for a music bot. Using a module (discord-player).",
|
"description": "A complete code to download for a music bot. Using a module (discord-player).",
|
||||||
|
"scripts": {
|
||||||
|
"start": "node index.js"
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@discordjs/opus": "^0.3.3",
|
"@discordjs/opus": "^0.3.3",
|
||||||
"discord-player": "^3.2.0",
|
"discord-player": "^3.2.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user