Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeimers113 committed Jul 25, 2023
1 parent 7406423 commit 09fb70e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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=<token>
git clone github.com/tune-bot/discord
cd discord
go run main.go
go run .
```

0 comments on commit 09fb70e

Please sign in to comment.