mirror of
https://github.com/Luzifer/discord-community.git
synced 2024-11-09 15:40:03 +00:00
Add polling for live-streams (#1)
parent
f0bb65346e
commit
f9aea05f20
1 changed files with 3 additions and 0 deletions
3
Home.md
3
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 |
|
||||
|
||||
|
|
Loading…
Reference in a new issue