mirror of
https://github.com/Luzifer/discord-community.git
synced 2024-11-09 15:40:03 +00:00
Wiki: Add more documentation for config parameters
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
90054f2c83
commit
777dc47692
2 changed files with 12 additions and 6 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue