SCAICT / SCAICT-uwu

中電喵:住在中電會 Discord 伺服器的貓咪
https://dc.scaict.org
Apache License 2.0
35 stars 4 forks source link

[enhancement] Centralize management of configuration files #184

Open YuevUwU opened 3 days ago

YuevUwU commented 3 days ago

你想怎樣? What do you want?

希望所需配置集中管理,必要時考慮更換配置文件格式 Centralized management of configuration files, with consideration for changing the file format if necessary

為什麼? Why?

目前的配置文件亂成一團,分散在多個文件內,server_id 還跟 GUILD_ID 的值一樣... (日後重寫 app.py 可省略) exclude_point 可改成亦可透過鍵值軟連結,以提高辨識度

The current configuration files are a mess, scattered across multiple files, and server_id even shares the same value as GUILD_ID... (Can be omitted when rewriting app.py in the future.) exclude_point can be modified to use key names to link, improving readability and recognition.

To-do