Fixed formatting in README

This commit is contained in:
2025-05-06 20:28:42 +02:00
parent e7c719312f
commit 3700e4055d

View File

@@ -39,59 +39,66 @@ Open source Discord bot for quizzes and quest-like events.
```json ```json
{ {
"locale": "en-US",
// Bot's default locale. Based on file name from locale/ // Bot's default locale. Based on file name from locale/
"debug": false, "locale": "en-US",
// Debug mode setting // Debug mode setting
"debug": false,
// Bot's config
"bot": { "bot": {
// Discord ID(s) of bot's owner(s)
"owners": [ "owners": [
0 0
// Discord ID of bot's owner
], ],
// Discord ID(s) of the debug guild(s)
"debug_guilds": [ "debug_guilds": [
0 0
// Discord ID of the debug guild
], ],
"bot_token": "",
// Bot's token // Bot's token
"timezone": "UTC", "bot_token": "",
// Bot's timezone // Bot's timezone
"timezone": "UTC",
// Bot's status activity
"status": { "status": {
"enabled": true,
// Whether activity is enabled // Whether activity is enabled
"enabled": true,
// Type of the activity. Can be: "playing", "watching", "listening", "streaming", "competing" and "custom"
"activity_type": "playing", "activity_type": "playing",
// Type of the activity. Can be: playing, watching, listening, streaming, competing and custom
"activity_text": "The Game Of Life"
// Text of the activity // Text of the activity
"activity_text": "The Game Of Life"
} }
}, },
// Database connection
"database": { "database": {
"user": null,
// User name for database connection. null if without auth // User name for database connection. null if without auth
"password": null, "user": null,
// User password for database connection. null if without auth // User password for database connection. null if without auth
"host": "127.0.0.1", "password": null,
// Database host // Database host
"port": 27017, "host": "127.0.0.1",
// Database port // Database port
"name": "quiz_bot" "port": 27017,
// Database name // Database name
"name": "quiz_bot"
}, },
// Cache connection
"cache": { "cache": {
// Type of caching engine. Can be: "memcached", "redis" or null
"type": null, "type": null,
// Type of caching engine. Can be: memcached and redis // Memcached connection. Only used if cache type is "memcached"
"memcached": { "memcached": {
"uri": "127.0.0.1:11211"
// Memcached URI // Memcached URI
"uri": "127.0.0.1:11211"
}, },
// Redis connection. Only used if cache type is "redis"
"redis": { "redis": {
"uri": "redis://127.0.0.1:6379/0"
// Redis URI // Redis URI
"uri": "redis://127.0.0.1:6379/0"
} }
}, },
// Emojis used by guilds that prefer emoji messages
"emojis": { "emojis": {
"guess_wrong": null
// Markdown of a Discord emoji to be used for wrong guesses // Markdown of a Discord emoji to be used for wrong guesses
"guess_wrong": null
} }
} }
``` ```