mirror of
https://github.com/Luzifer/discord-community.git
synced 2024-11-14 01:42:48 +00:00
Wiki: Add general info how to set up the config
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
7b95895001
commit
644eb07404
2 changed files with 34 additions and 2 deletions
18
wiki/Home.md
18
wiki/Home.md
|
@ -1,6 +1,22 @@
|
||||||
|
# Config format
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
|
||||||
|
bot_token: '...'
|
||||||
|
guild_id: '...'
|
||||||
|
|
||||||
|
module_configs:
|
||||||
|
- type: module-type
|
||||||
|
attributes:
|
||||||
|
key: value
|
||||||
|
|
||||||
|
...
|
||||||
|
```
|
||||||
|
|
||||||
# Modules
|
# Modules
|
||||||
|
|
||||||
## schedule
|
## Type: `schedule`
|
||||||
|
|
||||||
Posts stream schedule derived from Twitch schedule as embed in Discord channel
|
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
|
# Modules
|
||||||
|
|
||||||
{% for module in modules -%}
|
{% for module in modules -%}
|
||||||
## {{ module.type }}
|
## Type: `{{ module.type }}`
|
||||||
|
|
||||||
{{ module.description }}
|
{{ module.description }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue