mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2025-07-28 08:00:56 +00:00
🚚 移除通信测试插件
This commit is contained in:
@ -261,7 +261,7 @@ def get_config_with_compat(key: str, compat_keys: tuple[str], default: Any = Non
|
||||
return get_bot().config[key]
|
||||
for compat_key in compat_keys:
|
||||
if compat_key in get_bot().config:
|
||||
logger.warning(f"Config key {compat_key} will be deprecated, use {key} instead.")
|
||||
logger.warning(f"Config key \"{compat_key}\" will be deprecated, use \"{key}\" instead.")
|
||||
return get_bot().config[compat_key]
|
||||
return default
|
||||
|
||||
|
@ -37,7 +37,7 @@ def debounce(wait):
|
||||
return decorator
|
||||
|
||||
|
||||
if get_config_with_compat("liteyuki.dev_mode", ("dev_mode",), False):
|
||||
if get_config_with_compat("liteyuki.reload", ("dev_mode",), False):
|
||||
logger.debug("Liteyuki Reload enabled, watching for file changes...")
|
||||
observer.start()
|
||||
|
||||
|
Reference in New Issue
Block a user