New function npm start (by Cecemel)

This commit is contained in:
Zerio
2020-12-27 14:24:03 +01:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -44,6 +44,7 @@ In the console, type `npm install` to install all dependencies.
```
#With Node
node index.js
npm start #Indicated in package.json
#With pm2
pm2 start index.js --name "MusicBot"

View File

@@ -5,10 +5,13 @@
"version": "5.0.0",
"repository": "https://github.com/ZerioDev/Music-bot.git",
"description": "A complete code to download for a music bot. Using a module (discord-player).",
"scripts": {
"start": "node index.js"
},
"dependencies": {
"@discordjs/opus": "^0.3.3",
"discord-player": "^3.2.0",
"discord.js": "^12.5.1",
"ffmpeg-static": "^4.2.7"
}
}
}