2021-07-25 12:33:17 +00:00
|
|
|
# Config format
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
---
|
|
|
|
|
|
|
|
bot_token: '...'
|
|
|
|
guild_id: '...'
|
|
|
|
|
|
|
|
module_configs:
|
|
|
|
- type: module-type
|
|
|
|
attributes:
|
|
|
|
key: value
|
|
|
|
|
|
|
|
...
|
|
|
|
```
|
|
|
|
|
2021-07-25 12:29:43 +00:00
|
|
|
# Modules
|
2021-07-25 12:26:45 +00:00
|
|
|
|
|
|
|
{% for module in modules -%}
|
2021-07-25 12:33:17 +00:00
|
|
|
## Type: `{{ module.type }}`
|
2021-07-25 12:26:45 +00:00
|
|
|
|
|
|
|
{{ module.description }}
|
|
|
|
|
2021-07-25 12:28:08 +00:00
|
|
|
| Attribute | Req. | Type | Default Value | Description |
|
|
|
|
| --------- | :--: | ---- | ------------- | ----------- |
|
2021-07-25 12:26:45 +00:00
|
|
|
{%- for attr in module.attributes %}
|
|
|
|
| `{{ attr.name }}` | {% if attr.required == 'required' %}✅{% endif %} | {{ attr.type }} | {% if attr.default != "" %}`{{ attr.default }}`{% endif %} | {{ attr.description }} |
|
|
|
|
{%- endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
<!-- vim: set ft=markdown : -->
|