From f9aea05f2057b8201da5ffad2daedbb71bd4244c Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sun, 1 Aug 2021 02:13:05 +0200 Subject: [PATCH] Add polling for live-streams (#1) --- Home.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Home.md b/Home.md index fe4a662..1fda109 100644 --- a/Home.md +++ b/Home.md @@ -75,6 +75,9 @@ Announces stream live status based on Discord streaming status | `post_text` | ✅ | string | | Message to post to channel use `${displayname}` and `${username}` as placeholders | | `twitch_client_id` | ✅ | string | | Twitch client ID the token was issued for | | `twitch_client_secret` | ✅ | string | | Secret for the Twitch app identified with twitch_client_id | +| `cron` | | string | `*/5 * * * *` | Fetch live status of `poll_usernames` (set to empty string to disable): keep this below `stream_freshness` or you might miss streams | +| `disable_presence` | | bool | `false` | Disable posting live-postings for discord presence changes | +| `poll_usernames` | | []string | `[]` | Check these usernames for active streams when executing the `cron` (at most 100 users can be checked) | | `stream_freshness` | | duration | `5m` | How long after stream start to post shoutout | | `whitelisted_role` | | string | | Only post for members of this role ID |