Remove requirement for DISCORD_CLIENT_ID

Closes #336
This commit is contained in:
Max Isom 2021-09-18 17:04:04 -04:00
parent 9a2ef876d3
commit 79e7e88fab
No known key found for this signature in database
GPG key ID: 25C9B1A7F6798880
6 changed files with 4 additions and 12 deletions

View file

@ -24,7 +24,7 @@ I believe it makes much more sense to let Discord handle user permissions (whene
Muse is written in TypeScript. You can either run Muse with Docker (recommended) or directly with Node.js. Both methods require API keys passed in as environment variables:
- `DISCORD_TOKEN` and `DISCORD_CLIENT_ID` can be acquired [here](https://discordapp.com/developers/applications) by creating a 'New Application', then going to 'Bot'.
- `DISCORD_TOKEN` can be acquired [here](https://discordapp.com/developers/applications) by creating a 'New Application', then going to 'Bot'.
- `SPOTIFY_CLIENT_ID` and `SPOTIFY_CLIENT_SECRET` can be acquired [here](https://developer.spotify.com/dashboard/applications) with 'Create a Client ID'.
- `YOUTUBE_API_KEY` can be acquired by [creating a new project](https://console.developers.google.com) in Google's Developer Console, enabling the YouTube API, and creating an API key under credentials.
@ -35,7 +35,7 @@ Muse will log a URL when run. Open this URL in a browser to invite Muse to your
(Replace empty config strings with correct values.)
```bash
docker run -it -v "$(pwd)/data":/data -e DISCORD_TOKEN='' -e DISCORD_CLIENT_ID='' -e SPOTIFY_CLIENT_ID='' -e SPOTIFY_CLIENT_SECRET='' -e YOUTUBE_API_KEY='' codetheweb/muse
docker run -it -v "$(pwd)/data":/data -e DISCORD_TOKEN='' -e SPOTIFY_CLIENT_ID='' -e SPOTIFY_CLIENT_SECRET='' -e YOUTUBE_API_KEY='' codetheweb/muse
```
This starts Muse and creates a data directory in your current directory.
@ -53,7 +53,6 @@ services:
- ./muse:/data
environment:
- DISCORD_TOKEN=
- DISCORD_CLIENT_ID=
- YOUTUBE_API_KEY=
- SPOTIFY_CLIENT_ID=
- SPOTIFY_CLIENT_SECRET=