mirror of
https://github.com/ahmadk953/poixpixel-discord-bot.git
synced 2025-05-10 10:43:06 +00:00
Added code coments, refactored db.ts and redis.ts, and added two new commands
This commit is contained in:
parent
b3fbd2358b
commit
890ca26c78
30 changed files with 1899 additions and 462 deletions
|
@ -2,8 +2,16 @@
|
|||
"token": "DISCORD_BOT_API_KEY",
|
||||
"clientId": "DISCORD_BOT_ID",
|
||||
"guildId": "DISCORD_SERVER_ID",
|
||||
"dbConnectionString": "POSTGRESQL_CONNECTION_STRING",
|
||||
"redisConnectionString": "REDIS_CONNECTION_STRING",
|
||||
"database": {
|
||||
"dbConnectionString": "POSTGRESQL_CONNECTION_STRING",
|
||||
"maxRetryAttempts": "MAX_RETRY_ATTEMPTS",
|
||||
"retryDelay": "RETRY_DELAY_IN_MS"
|
||||
},
|
||||
"redis": {
|
||||
"redisConnectionString": "REDIS_CONNECTION_STRING",
|
||||
"retryAttempts": "RETRY_ATTEMPTS",
|
||||
"initialRetryDelay": "INITIAL_RETRY_DELAY_IN_MS"
|
||||
},
|
||||
"channels": {
|
||||
"welcome": "WELCOME_CHANNEL_ID",
|
||||
"logs": "LOG_CHANNEL_ID",
|
||||
|
@ -45,5 +53,10 @@
|
|||
}
|
||||
],
|
||||
"factPingRole": "FACT_OF_THE_DAY_ROLE_ID"
|
||||
},
|
||||
"leveling": {
|
||||
"xpCooldown": "XP_COOLDOWN_IN_SECONDS",
|
||||
"minXpAwarded": "MINIMUM_XP_AWARDED",
|
||||
"maxXpAwarded": "MAXIMUM_XP_AWARDED"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue