From 50c7d7e5ae91ca7f0714b9222ef8932e5236c3e1 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 27 Mar 2021 18:06:44 +0100 Subject: [PATCH] Add documentation for auto_messages Signed-off-by: Knut Ahlers --- wiki/Home.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/wiki/Home.md b/wiki/Home.md index b3cc67c..64e4f1b 100644 --- a/wiki/Home.md +++ b/wiki/Home.md @@ -12,6 +12,18 @@ permit_allow_moderator: true # How long to permit on !permit command permit_timeout: 60s +auto_messages: + - channel: 'mychannel' # String, channel to send message to + message: 'Automated message' # String, message to send + use_action: true # Bool, optional, send message as action (`/me `) + + # Even though all of these are optional, at least one MUST be specified for the entry to be valid + cron: '*/10 * * * *' # String, optional, cron syntax when to send the message + message_interval: 3 # Integer, optional, how many non-bot-messages must be sent in between + time_interval: 900s # Duration, optional, how long to wait before repeating the message + + only_on_live: true # Boolean, optional, only send the message when channel is live + rules: # See below for examples - actions: # Array of actions to take when this rule matches