From 09fb70ef53ba321b7e8e6b5e9859f5d232d54f66 Mon Sep 17 00:00:00 2001 From: cbeimers113 Date: Tue, 25 Jul 2023 19:56:02 -0400 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d6b735b..201703c 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # tune-bot discord Discord bot to interface with tunebot and play user playlists in the voice channel. -## Setup -Either use the installation script from the [infrastructure](https://www.github.com/tune-bot/infrastructure) repository, or take the following steps to run the bot locally. Both methods will require the Discord bot token which is only accessible from the Discord [Developer Portal](https://discord.com/developers), under `Applications > TuneBot > Bot > "Reset Token"`. The token can only be seen when it is first generated, so reinstalling the bot would require resetting the token. You must also ensure the [database](https://www.github.com/tune-bot/database) is running. +## How to Build Locally +This requires the Discord bot token which is only accessible from the Discord [Developer Portal](https://discord.com/developers), under `Applications > TuneBot > Bot > "Reset Token"`. The token can only be seen when it is first generated, and it available as the environment variable DISCORD_TOKEN. You must also ensure the [database](https://www.github.com/tune-bot/database) is running for local database development, or have a valid host and credentials to the production tunebot server. ``` export DISCORD_TOKEN= git clone github.com/tune-bot/discord cd discord -go run main.go +go run . ``` \ No newline at end of file