cocoastorm / cocoabot

A relatively simple Discord musicbot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A relatively simple Discord musicbot

License:GNU Affero General Public License v3.0


Languages

Language:Go 98.1%Language:Dockerfile 1.9%