https://github.com/aweirddev/radio
The infamous Discord radio Bot from the @bloop-tw server.
https://github.com/aweirddev/radio
Last synced: about 1 year ago
JSON representation
The infamous Discord radio Bot from the @bloop-tw server.
- Host: GitHub
- URL: https://github.com/aweirddev/radio
- Owner: AWeirdDev
- Created: 2023-08-24T03:39:33.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-24T03:54:28.000Z (almost 3 years ago)
- Last Synced: 2025-01-24T12:32:30.678Z (over 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# radio
The infamous Python Discord radio bot.
## Installation
1. Environment variables: Contain `TOKEN`. To do that, simply run:
```shell
export TOKEN=bot-token
```
2. Configuring Replit Database: Contains Replit database key `vc`, used for re-joining voice channels. To initialize:
```shell
python3 -c "import replit;replit.db['vc']={}"
```
3. Installing ffmpeg, opus and yt-dlp: Use `replit-ffmpeg` to install them:
```shell
pip install replit-ffmpeg && replit-ffmpeg
```
4. Install `py-cord`:
```shell
pip install py-cord
```
5. Run the bot:
```shell
python3 main.py
```
> [!WARNING]
> Take a look at line 27 of `main.py`. If you're using `replit-ffmpeg` to install, change the path to `'opus/libopus.so'` in the `discord.opus.load_opus` block.