Update readme

This commit is contained in:
r4 2021-07-28 18:28:20 +02:00
parent f8859afc18
commit c45b6cc8f0
1 changed files with 6 additions and 2 deletions

View File

@ -20,12 +20,16 @@ Directly uses youtube-dl and ffmpeg for downloading media.
- Run the binary once to generate `config.json`: `./dcbot`.
- Make sure to have [ffmpeg](https://ffmpeg.org/) installed (basically every GNU/Linux/BSD distro should have a package for it).
- Make sure to have [ffmpeg](https://ffmpeg.org/) installed (basically every Linux/BSD distro should have a package for it).
- Make sure to have a **RECENT** version of [youtube-dl](https://yt-dl.org/). If your distro doesn't package a recent version, see the section titled "Obtaining a recent youtube-dl binary".
- In `config.json`, find the line that says `"token"`. In that line, change the text that says `"insert your discord bot token here"` to whatever your bot token is (just look it up if you don't know how to get one). Remember to keep the `""` sorrounding the token.
## Notes
- youtube-dl might cause some problems with certain Unicode characters if the `LC_ALL` environment variable isn't set.
## Setup
### Obtaining a recent youtube-dl binary
@ -38,4 +42,4 @@ Some distributions like Debian don't ship a very recent version of youtube-dl, b
- In `config.json`, look for the line that says `"youtube-dl_path"`. In that line, change the value that says `"youtube-dl"` to `"./youtube-dl"`.
- Save and you're done. The bot should now look for youtube-dl locally instead of system-wide.
- Save and you're done. The bot should now look for youtube-dl locally instead of system-wide.