https://github.com/trojan295/discord-airplay
Discord bot to play music
https://github.com/trojan295/discord-airplay
chatgpt discord-bot music-bot youtube
Last synced: 4 months ago
JSON representation
Discord bot to play music
- Host: GitHub
- URL: https://github.com/trojan295/discord-airplay
- Owner: Trojan295
- License: mit
- Created: 2023-01-13T18:42:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-16T21:38:25.000Z (8 months ago)
- Last Synced: 2025-01-31T03:34:07.913Z (5 months ago)
- Topics: chatgpt, discord-bot, music-bot, youtube
- Language: Go
- Homepage:
- Size: 272 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# discord-airplay
Discord bot to play music
## Features
- Playing songs from various sources (Big thanks to [yt-dlp](https://github.com/yt-dlp/yt-dlp)!)
- Playing playlists from Youtube
- Playlist generation using ChatGPT## How to use it
There is no public bot available, you have to host it on your own.
1. Create the Discord bot and get the token. You can do this [here](https://discord.com/developers/applications).
2. If you want to use the ChatGPT playlist generation get an OpenAI account and API token.
3. Run the bot.You can run it using a Docker container:
```bash
docker run -it \
-e AIR_DISCORDTOKEN="" \
-e AIR_OPENAITOKEN="" \
trojan295/airplay
```You can also run it on Kubernetes:
```bash
cat deploy/kubernetes/deployment.yaml \
| env AIR_DISCORDTOKEN="" \
AIR_OPENAITOKEN="" \
envsubst \
| kubectl apply -f -
```