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

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

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.