Sign inSign up

khoanguyent/cocoabot

By khoanguyent

•Updated over 7 years ago

Image
0

350

khoanguyent/cocoabot repository overview

⁠cocoabot

A relatively simple music bot for Discord.

Huge shout out to SpeakerBot⁠ for most of the discord musical magic of which inspiration was hugely taken from.

Huge thanks to DiscordGo⁠ for the painless Discord API Go Bindings.

⁠Building

cocoabot relies on FFmpeg⁠ for audio encoding. In particular, it relies on the opus codec, please have FFmpeg compiled with --enable-libopus.

go get
go build

⁠Usage

After building:

BOT_TOKEN=<discord bot token> \
YOUTUBE_KEY=<youtube api key> \
./cocoabot

The YouTube API Key is solely used for searching and retrieving videos from a playlist.

⁠Contribution

If you notice any bugs or want a new feature, PRs are more than welcome. :)

⁠LICENSE

AGPL-3.0⁠

Tag summary

Content type

Image

Digest

Size

43 MB

Last updated

over 7 years ago

docker pull khoanguyent/cocoabot