rewrite: New configuration layout.

This commit is contained in:
2023-05-25 16:53:42 +03:00
parent 058e351f7b
commit d6f89b84b9
3 changed files with 50 additions and 18 deletions

View File

@@ -1,26 +1,48 @@
[DEFAULT]
log_file = bot.log
log_channel =
error_channel =
guild_log_channel =
gem_transaction_channel =
[STUDYLION]
prefix = !!
prefix = !
token =
owners = 413668234269818890, 389399222400712714
admins =
database = dbname=lionbot
data_appid = LionBot
admin_guilds =
shard_count = 1
lion_sync_period = 60
ALSO_READ = config/emojis.conf, config/secrets.conf, config/gui.conf
topgg_password =
topgg_route =
topgg_port =
asset_path = assets
invite_link = https://discord.studylions.com/invite
support_link = https://discord.gg/StudyLions
[ENDPOINTS]
guild_log =
gem_transaction =
ALSO_READ = config/emojis.conf
[LOGGING]
log_file = bot.log
general_log =
error_log =
critical_log =
error_prefix =
critical_prefix =
[LOGGING_LEVELS]
root = DEBUG
discord = INFO
discord.http = INFO
discord.gateway = INFO
[APPIPC]
server_host = 127.0.0.1
server_port = 5000
[ANALYTICS]
appname = Analytics
server_host = 127.0.0.1
server_port = 4999
[BABEL]
locales = ceaser
domains = base, shop, economy, user_config, config, ranks, tasklist, exec, rooms, test, reminders, Pomodoro, statistics, utils, timer-gui, goals-gui, weekly-gui, profile-gui, monthly-gui, leaderboard-gui, stats-gui, settings_base, voice-tracker, text-tracker, core_config, babel
[TEXT_TRACKER]
batchsize = 1
batchtime = 600

4
config/example-gui.conf Normal file
View File

@@ -0,0 +1,4 @@
[GUI]
skin_data_path = ../skins/
process_count = 10
socket_path = gui.sock

View File

@@ -0,0 +1,6 @@
[STUDYLION]
token =
[DATA]
args = dbname=lion_data
appid = StudyLion