# Discord Sound Bot A soundboard bot for discord. Build with Go/React. ![Image](./screenshots/sound-bot.png) ## How to use - [Download latest release here](https://github.com/mgerb/go-discord-bot/releases) - Install [youtube-dl](https://github.com/rg3/youtube-dl/blob/master/README.md#installation) - Install [ffmpeg](https://www.ffmpeg.org/download.html) - edit your config.json file - run the executable - visit http://localhost:8080 ### With docker-compose Make sure to create a `config.json` file in your data volume. Take a look at `config.template.json` for example congurations. docker-compose.yml ``` version: "2" services: go-discord-bot: image: mgerb/go-discord-bot:latest restart: unless-stopped ports: - 8080:8080 volumes: - :/bot ``` #### Running Bot Scripts Use the following scripts - restore-messages - used to search message history and store in database - update-db - used to run additional DB change scripts (will likely never have to be run) Example: ``` docker-compose exec go-discord-bot /server/bot-scripts update-db docker-compose exec go-discord-bot /server/bot-scripts restore-message ``` ### Commands - `clip` - clips the past minute of audio (currently bugged if more than one user is speaking) - `summon` - summons the bot to your current channel - `dismiss` - dismisses the bot from the server - `