Skip to content

Commit 1b30cb8

Browse files
committed
Add environment variable to README
Signed-off-by: TannerGabriel <[email protected]>
1 parent 5885ff1 commit 1b30cb8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,15 @@ npm install
4242
echo "DISCORD_TOKEN='INSERT_YOUR_TOKEN_HERE'" > .env
4343
```
4444

45+
### Other environment variables
46+
47+
Currently we also need to set the `DP_FORCE_YTDL_MOD` environment variable to override `ytdl-core` for the `discord-player`.
48+
49+
```
50+
DISCORD_TOKEN=INSERT_YOUR_TOKEN_HERE
51+
DP_FORCE_YTDL_MOD="@distube/ytdl-core"
52+
```
53+
4554
### Required permissions
4655

4756
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/)

0 commit comments

Comments
 (0)