Wiki: Add more documentation for config parameters

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-08-27 20:48:56 +02:00
parent 90054f2c83
commit 777dc47692
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D
2 changed files with 12 additions and 6 deletions

View file

@ -40,12 +40,15 @@
```yaml ```yaml
--- ---
bot_token: '...' # See documentation above # See documentation above
guild_id: '...' # ID of your Discord "server" (internally named "guild") bot_token: '...'
# ID of your Discord "server" (internally named "guild")
guild_id: '...'
# File location to store a persistent state for the modules
store_location: /path/to/storage.json store_location: /path/to/storage.json
module_configs: module_configs:
- id: unique id for the module instance - id: 'unique id for the module instance (e.g. UUID)'
type: module-type type: module-type
attributes: attributes:
key: value key: value

View file

@ -40,12 +40,15 @@
```yaml ```yaml
--- ---
bot_token: '...' # See documentation above # See documentation above
guild_id: '...' # ID of your Discord "server" (internally named "guild") bot_token: '...'
# ID of your Discord "server" (internally named "guild")
guild_id: '...'
# File location to store a persistent state for the modules
store_location: /path/to/storage.json store_location: /path/to/storage.json
module_configs: module_configs:
- id: unique id for the module instance - id: 'unique id for the module instance (e.g. UUID)'
type: module-type type: module-type
attributes: attributes:
key: value key: value