Update README for new flags

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-04-22 00:39:18 +02:00
parent de46cdbf67
commit 950c6e5ed5
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -17,10 +17,12 @@ Please see the [Wiki](https://github.com/Luzifer/twitch-bot/wiki) for documentat
```console ```console
# twitch-bot --help # twitch-bot --help
Usage of twitch-bot: Usage of twitch-bot:
-c, --config string Location of configuration file (default "./config.yaml") --command-timeout duration Timeout for command execution (default 30s)
--log-level string Log level (debug, info, warn, error, fatal) (default "info") -c, --config string Location of configuration file (default "./config.yaml")
--storage-file string Where to store the data (default "./storage.json.gz") --log-level string Log level (debug, info, warn, error, fatal) (default "info")
--twitch-client string Client ID to act as --rate-limit duration How often to send a message (default: 20/30s=1500ms, if your bot is mod everywhere: 100/30s=300ms, different for known/verified bots) (default 1.5s)
--twitch-token string OAuth token valid for client --storage-file string Where to store the data (default "./storage.json.gz")
--version Prints current version and exits --twitch-client string Client ID to act as
--twitch-token string OAuth token valid for client
--version Prints current version and exits
``` ```