Add live-role module

Signed-off-by: Knut Ahlers <knut@ahlers.me>
Knut Ahlers 2021-07-29 23:26:30 +02:00
parent 6823bb834b
commit 2d04435b4f

11
Home.md

@ -16,6 +16,17 @@ module_configs:
# Modules
## Type: `liverole`
Adds live-role to certain group of users if they are streaming on Twitch
| Attribute | Req. | Type | Default Value | Description |
| --------- | :--: | ---- | ------------- | ----------- |
| `role_streamers_live` | ✅ | string | | Role ID to assign to live streamers |
| `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 |
| `role_streamers` | | string | | Only take members with this role into account |
## Type: `presence`
Updates the presence status of the bot to display the next stream