Skip to content

a discord bot template that uses ffmpeg and yt-dlp to play YouTube audio

Notifications You must be signed in to change notification settings

xruifan/dc-yt-bot-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Discord bot template using discordgo that can play audio from YouTube links, primarily using code from 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.

About

a discord bot template that uses ffmpeg and yt-dlp to play YouTube audio

Topics

Resources

Stars

Watchers

Forks

Languages