Wiki: Add general info how to set up the config

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-07-25 14:33:17 +02:00
parent 7b95895001
commit 644eb07404
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D
2 changed files with 34 additions and 2 deletions

View file

@ -1,6 +1,22 @@
# Config format
```yaml
---
bot_token: '...'
guild_id: '...'
module_configs:
- type: module-type
attributes:
key: value
...
```
# Modules
## schedule
## Type: `schedule`
Posts stream schedule derived from Twitch schedule as embed in Discord channel

View file

@ -1,7 +1,23 @@
# Config format
```yaml
---
bot_token: '...'
guild_id: '...'
module_configs:
- type: module-type
attributes:
key: value
...
```
# Modules
{% for module in modules -%}
## {{ module.type }}
## Type: `{{ module.type }}`
{{ module.description }}