✨ 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
|
||||
node index.js
|
||||
npm start #Indicated in package.json
|
||||
|
||||
#With pm2
|
||||
pm2 start index.js --name "MusicBot"
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
"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",
|
||||
|
||||
Reference in New Issue
Block a user