1
0
mirror of https://github.com/mgerb/go-discord-bot synced 2026-01-09 08:32:48 +00:00
2018-02-19 16:19:59 -06:00
2018-02-19 16:19:59 -06:00
2018-02-19 16:19:59 -06:00
2018-02-19 16:19:59 -06:00
2017-10-04 20:05:32 -05:00
2017-08-23 00:11:41 -05:00
2018-02-09 23:58:23 -06:00
2017-07-21 00:06:59 -05:00

Discord Sound Bot

This is a soundboard bot for discord. The back end is in GoLang and the front end uses React.

How to use

NOTE: Currently the binaries in the release package only run on linux. Check them out here

  • download bot.zip and extract everything
  • rename config.template.json to config.json
  • add your bot token and preferred upload password (leave as is for no password)
  • run the bot with ./bot (you may need to use sudo if you leave it on port 80)

Flags

-p, run in production mode

-tls, run with auto tls

Setting up Youtube downloader

NOTE

If you get a permissions error with ffmpeg on mac or linux: sudo chmod +x dist/ffmpeg_linux

Sounds are stored in the sounds directory. You may copy files directly to this folder rather than uploading through the site.

Building from Source

Dependencies

  • Go
  • Yarn (or npm - makefile will need to be adjusted)
  • make

Compiling

  • Make sure dependencies are installed
  • make all
  • Rename the config.template.json to config.json
  • add configurations to config.json
  • run the executable
  • open a browser localhost:<port>
  • upload files
  • success!

Windows

I've only compiled and run this on linux so far, but I've recently added cross platform support.

Description
No description provided
Readme 76 MiB
Languages
Go 51.7%
TypeScript 38.1%
SCSS 6.7%
JavaScript 2.3%
Dockerfile 0.7%
Other 0.5%