mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 06:12:53 +08:00
Update __init__.py
This commit is contained in:
parent
17506691a8
commit
b70851b810
@ -112,6 +112,7 @@ class ConfigsManager:
|
||||
"""
|
||||
key = key.upper()
|
||||
if module in self._data.keys():
|
||||
for key in [key, f"{key} [LEVEL]"]:
|
||||
if self._data[module].get(key) is not None:
|
||||
if self._data[module][key]["value"] is None:
|
||||
return self._data[module][key]["default_value"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user