cocoabot

command module
v0.0.0-...-4401341 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2019 License: AGPL-3.0 Imports: 21 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址