mirror of
https://github.com/Luzifer/discord-community.git
synced 2024-11-12 17:02:44 +00:00
Add live announcements
Signed-off-by: Knut Ahlers <knut@ahlers.me>
parent
2d04435b4f
commit
6338ce16ff
1 changed files with 13 additions and 0 deletions
13
Home.md
13
Home.md
|
@ -16,6 +16,19 @@ module_configs:
|
|||
|
||||
# Modules
|
||||
|
||||
## Type: `liveposting`
|
||||
|
||||
Announces stream live status based on Discord streaming status
|
||||
|
||||
| Attribute | Req. | Type | Default Value | Description |
|
||||
| --------- | :--: | ---- | ------------- | ----------- |
|
||||
| `discord_channel_id` | ✅ | string | | ID of the Discord channel to post the message to |
|
||||
| `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 |
|
||||
| `stream_freshness` | | duration | `5m` | How long after stream start to post shoutout |
|
||||
| `whitelisted_role` | | string | | Only post for members of this role |
|
||||
|
||||
## Type: `liverole`
|
||||
|
||||
Adds live-role to certain group of users if they are streaming on Twitch
|
||||
|
|
Loading…
Reference in a new issue