https://github.com/xruifan/dc-yt-bot-go
a discord bot template that uses ffmpeg and yt-dlp to play YouTube audio
https://github.com/xruifan/dc-yt-bot-go
discord ffmpeg go golang iscordgo music youtube youtube-music yt-dlp
Last synced: 4 months ago
JSON representation
a discord bot template that uses ffmpeg and yt-dlp to play YouTube audio
- Host: GitHub
- URL: https://github.com/xruifan/dc-yt-bot-go
- Owner: xruifan
- Created: 2024-07-09T07:33:04.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-08-16T09:03:10.000Z (10 months ago)
- Last Synced: 2024-08-16T10:25:39.845Z (10 months ago)
- Topics: discord, ffmpeg, go, golang, iscordgo, music, youtube, youtube-music, yt-dlp
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A Discord bot template using [discordgo](https://github.com/bwmarrin/discordgo) that can play audio from YouTube links, primarily using code from [voice.go](https://github.com/bwmarrin/discordgo/blob/master/voice.go).
## Requirements
`ffmpeg`, `yt-dlp`## env
create a .env file, see env.example## Commands
`/join` join your vc channel.`/play` play YouTube Audio following a link.
example:
```
/play https://www.youtube.com/watch?v=dQw4w9WgXcQ
````/leave` leave the vc channel.