Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/trojan295/discord-airplay
- Owner: Trojan295
- License: mit
- Created: 2023-01-13T18:42:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-21T13:47:48.000Z (12 days ago)
- Last Synced: 2024-09-22T10:02:08.441Z (11 days ago)
- Topics: chatgpt, discord-bot, music-bot, youtube
- Language: Go
- Homepage:
- Size: 263 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 -
```