diff --git a/nonebot_plugin_eventmonitor/config.py b/nonebot_plugin_eventmonitor/config.py index 934b358..9391e3b 100644 --- a/nonebot_plugin_eventmonitor/config.py +++ b/nonebot_plugin_eventmonitor/config.py @@ -226,6 +226,7 @@ async def json_upload(self, updated_config: dict) -> None: """将 JSON 数据上传到指定路径""" with self.data_address.open('w', encoding='utf-8') as f: json.dump(updated_config, f, ensure_ascii=False, indent=4) + self.g_temp = updated_config @staticmethod async def poke(event: Event) -> bool: