Updated README.md with new instructions for setup

This commit is contained in:
Marius Begby committed 2023-07-06 12:04:24 +02:00
1 parent 4576f15e32
commit 627c7286b9
2 files changed
+6 -3

No files matched your search

+3 -2
View File
@@ -7,5 +7,6 @@ A free music and audio bot for Discord. No locked functionality, and open source
1. Install [Node.js](https://nodejs.org/en/download/) v18.16 LTS. 1. Install [Node.js](https://nodejs.org/en/download/) v18.16 LTS.
2. Install [FFmpeg](https://ffmpeg.org/download.html) latest release build. 2. Install [FFmpeg](https://ffmpeg.org/download.html) latest release build.
3. Install dependencies with `npm install`. 3. Install dependencies with `npm install`.
4. Configure token for Discord bot in `config.json`. 4. Configure token and clientId for Discord bot in `config.json`. You need to have a Discord bot application from Discord [developer portal](https://discord.com/developers/applications) first.
5. Run `npm start` to start the bot. 5. Deploy slash commands via Discord API by running `npm run deploy`.
6. Run `npm start` to start the bot.
+3 -1
View File
@@ -4,7 +4,9 @@
"description": "⚡ A free music and audio bot for Discord.", "description": "⚡ A free music and audio bot for Discord.",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1",
"start": "node ./index.js",
"deploy": "node ./deploy-commands.js"
}, },
"author": "", "author": "",
"license": "ISC", "license": "ISC",