From 0e8cc4355db99ac27d892209a6b1fd4105bb3988 Mon Sep 17 00:00:00 2001 From: Sravanth C <54331348+chebro@users.noreply.github.com> Date: Wed, 20 Jan 2021 01:19:47 +0530 Subject: [PATCH] UPdate readme --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6a529c4..7947c46 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,9 @@ Clone the repository : git clone https://github.com/chebro/discord-voice-recorder/ ``` -[Create a discord bot](https://discordpy.readthedocs.io/en/latest/discord.html). Invite the bot to your server, then: +[Make a discord bot](https://discordpy.readthedocs.io/en/latest/discord.html) if you don't have one already and invite the bot to your server, then: -1. Create a `config.json` file and a `recordings` folder at the root folder. +1. Create `config.json` file and a `/recordings` directory at the root folder. 2. Paste the bot token (from [developer window](https://discord.com/developers/applications)) and any bot prefix into `config.json`, like so: ```yaml @@ -36,21 +36,21 @@ git clone https://github.com/chebro/discord-voice-recorder/ } ``` -You can run the bot in any one of the following two ways. +You can now run the script in one of the following two ways: -### Running the Script Locally +### Run Locally Run `npm i` to download necessary `node_modules`, then run `npm start`, the bot should be online. ### Run as a Docker Container -1. Build the docker image +1. Build the docker image: ``` docker build -t dvr . ``` -2. Bind `/recordings` directory on host to container and start the container with a custom name. +2. Bind `/recordings` directory on host to container and start the container with a custom name: ``` docker run \