diff --git a/README.md b/README.md index 31ffced..a6e0f04 100644 --- a/README.md +++ b/README.md @@ -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" diff --git a/package.json b/package.json index 4349415..0953513 100644 --- a/package.json +++ b/package.json @@ -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" } -} \ No newline at end of file +}