diff --git a/README.md b/README.md index 81300c2..fd128df 100644 --- a/README.md +++ b/README.md @@ -68,9 +68,9 @@ whitelist: ``` -**Explanation**: +#### Explanation -#### irc +##### irc * `channel`: Channel you want to monitor (e.g. #gpkvt) * `username`: The bots username (e.g. gpkvt) @@ -78,18 +78,18 @@ whitelist: * `server`: Twitch IRC server to be used (default should be fine) * `clearmsg_timeout`: Time to wait for an moderator to delete a message, before it's added to the TTS queue -#### http +##### http * `port`: Internal Webserver Port to listen to (e.g. 8080) * `bind`: Interface/IP to bind server to (e.g. localhost) -#### bot +##### bot * `subonly`: If `True` only Subs can use TTS * `modonly`: If `True` only Mods can use TTS * `message_length`: Maximum allowed message length for TTS -#### messages +##### messages * `too_long`: The bots reply if message exceeds `message_length` * `disabled`: The bots reply if TTS is disabled @@ -99,17 +99,17 @@ whitelist: * `ready`: The bots init message * `says`: Prefix to add between username and message -#### log +##### log * `level`: The loglevel, valid values are: `DEBUG`, `INFO`, `WARNING`, `ERROR`, `CRITICAL` -#### usermapping +##### usermapping Use this section to define key:value pairs of usernames. The first value is the Twitch username, the second value is how the bot should pronouce the user, when reading the message. This is helpfull if you have regulars with numbers or strangs chars in the name. You can add new/change entries on the fly without restarting the bot (changes took up to 60 seconds). Please note: The key (real username) MUST be lowercase. -### whitelist +##### whitelist You can add a whitelist section to `config.yml`, a whitelist will override any other settings like `subonly` and `modonly`. Only users on the whitelist are allowed to use `!tts`. Broadcasters and mods can temporarily add users (including themselfs) to the whitelist by using the `!ptts` command, though.