-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7406423
commit 09fb70e
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 . | ||
``` |