1
0
mirror of https://github.com/mgerb/go-discord-bot synced 2026-01-09 16:42:48 +00:00

use permissions from database - updated bot-scripts

This commit is contained in:
2018-10-20 13:42:37 -05:00
parent 3f650e7c65
commit b004d4f29a
15 changed files with 126 additions and 57 deletions

View File

@@ -33,6 +33,22 @@ services:
- <path to your data directory>:/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 <roomID>
```
### Commands
- `clip` - clips the past minute of audio (currently bugged if more than one user is speaking)