Wiki: Add general info how to set up the config

Signed-off-by: Knut Ahlers <knut@ahlers.me>
Knut Ahlers 2021-07-25 14:33:17 +02:00
parent b1bafca560
commit 860899d343
2 changed files with 34 additions and 2 deletions

18
Home.md

@ -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

@ -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 }}