mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-09 16:50:01 +00:00
Update Wiki for new mechanics
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
ece2964c9a
commit
fe4ef6f2fc
1 changed files with 16 additions and 0 deletions
16
wiki/Home.md
16
wiki/Home.md
|
@ -12,6 +12,13 @@ permit_allow_moderator: true
|
|||
# How long to permit on !permit command
|
||||
permit_timeout: 60s
|
||||
|
||||
# Variables are made available in templating (for example useful to disable several
|
||||
# rules at once using the `disable_on_template` directive)
|
||||
# Supported data types: Boolean, Float, Integer, String
|
||||
variables:
|
||||
myvariable: true
|
||||
anothervariable: "string"
|
||||
|
||||
auto_messages:
|
||||
- channel: 'mychannel' # String, channel to send message to
|
||||
message: 'Automated message' # String, message to send
|
||||
|
@ -24,6 +31,9 @@ auto_messages:
|
|||
|
||||
only_on_live: true # Boolean, optional, only send the message when channel is live
|
||||
|
||||
# Disable message using templating, must yield string `true` to disable the automated message
|
||||
disable_on_template: '{{ ne .myvariable true }}'
|
||||
|
||||
rules: # See below for examples
|
||||
|
||||
- actions: # Array of actions to take when this rule matches
|
||||
|
@ -61,12 +71,18 @@ rules: # See below for examples
|
|||
# Do not apply cooldown for these badges
|
||||
skip_cooldown_for: [broadcaster, moderator]
|
||||
|
||||
# Disable the rule by setting to true
|
||||
disable: false
|
||||
|
||||
# Disable actions when the matched channel has no active stream
|
||||
disable_on_offline: false
|
||||
|
||||
# Disable actions on this rule if the user has an active permit
|
||||
disable_on_permit: false
|
||||
|
||||
# Disable actions using templating, must yield string `true` to disable the rule
|
||||
disable_on_template: '{{ ne .myvariable true }}'
|
||||
|
||||
# Disable actions on this rule if the user has one of these badges
|
||||
disable_on: [broadcaster, moderator]
|
||||
|
||||
|
|
Loading…
Reference in a new issue