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
---
bot_token: '...' # See documentation above
guild_id: '...' # ID of your Discord "server" (internally named "guild")
# See documentation above
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
module_configs:
- id: unique id for the module instance
- id: 'unique id for the module instance (e.g. UUID)'
type: module-type
attributes:
key: value

View File

@ -40,12 +40,15 @@
```yaml
---
bot_token: '...' # See documentation above
guild_id: '...' # ID of your Discord "server" (internally named "guild")
# See documentation above
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
module_configs:
- id: unique id for the module instance
- id: 'unique id for the module instance (e.g. UUID)'
type: module-type
attributes:
key: value