Skip to content

Commit

Permalink
Add environment variable to README
Browse files Browse the repository at this point in the history
Signed-off-by: TannerGabriel <[email protected]>
  • Loading branch information
TannerGabriel committed Aug 24, 2024
1 parent 5885ff1 commit 1b30cb8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@ npm install
echo "DISCORD_TOKEN='INSERT_YOUR_TOKEN_HERE'" > .env
```

### Other environment variables

Currently we also need to set the `DP_FORCE_YTDL_MOD` environment variable to override `ytdl-core` for the `discord-player`.

```
DISCORD_TOKEN=INSERT_YOUR_TOKEN_HERE
DP_FORCE_YTDL_MOD="@distube/ytdl-core"
```

### Required permissions

Make sure that your bot has the `applications.commands` application scope enabled, which can be found under the `OAuth2` tab on the [developer portal](https://discord.com/developers/applications/)
Expand Down

0 comments on commit 1b30cb8

Please sign in to comment.