A simple bot that plays music. Using youtube-dl, ffmpeg and dca!
-
Install
youtube-dl
,ffmpeg
andgo
using your package manager -
$ go get -u github.com/bwmarrin/dca/cmd/dca
[1] -
# mv ~/go/bin/dca /bin/
-
$ shards install
-
Open config.yaml and replace the info with yours
-
Everthing should now work
-
$ crystal ./src/crusic.cr
or compile
- Uses youtube-dl to download the song
- Then ffmpeg and dca to convert it to a dca file!
- Queue
- Pause
- YouTube API search