Discord bot to play music
- Playing songs from various sources (Big thanks to yt-dlp!)
- Playing playlists from Youtube
- Playlist generation using ChatGPT
There is no public bot available, you have to host it on your own.
-
Create the Discord bot and get the token. You can do this here.
-
If you want to use the ChatGPT playlist generation get an OpenAI account and API token.
-
Run the bot.
You can run it using a Docker container:
docker run -it \ -e AIR_DISCORDTOKEN="<discord-token>" \ -e AIR_OPENAITOKEN="<openai-token>" \ trojan295/airplay
You can also run it on Kubernetes:
cat deploy/kubernetes/deployment.yaml \ | env AIR_DISCORDTOKEN="<discord-token>" \ AIR_OPENAITOKEN="<openai-token>" \ envsubst \ | kubectl apply -f -