Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 7 days ago
JSON representation

Discord bot to play music

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 -
```