mirror of https://github.com/Mai-with-u/MaiBot.git
🤖 自动格式化代码 [skip ci]
parent
d0ad70924d
commit
7e1514d20b
|
|
@ -168,6 +168,7 @@ class Config(ConfigBase):
|
|||
tool: ToolConfig
|
||||
debug: DebugConfig
|
||||
|
||||
|
||||
def load_config(config_path: str) -> Config:
|
||||
"""
|
||||
加载配置文件
|
||||
|
|
|
|||
|
|
@ -529,10 +529,11 @@ class TelemetryConfig(ConfigBase):
|
|||
enable: bool = True
|
||||
"""是否启用遥测"""
|
||||
|
||||
|
||||
@dataclass
|
||||
class DebugConfig(ConfigBase):
|
||||
"""调试配置类"""
|
||||
|
||||
|
||||
debug_show_chat_mode: bool = False
|
||||
"""是否在回复后显示当前聊天模式"""
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue