feat: qq-botpy 适配器对 member 和 group 的 openid 进行静态缓存

This commit is contained in:
RockChinQ
2024-03-14 16:00:22 +08:00
parent be06150990
commit ed3c0d9014
8 changed files with 256 additions and 116 deletions
+3
View File
@@ -26,6 +26,9 @@ class ConfigManager:
async def dump_config(self):
await self.file.save(self.data)
def dump_config_sync(self):
self.file.save_sync(self.data)
async def load_python_module_config(config_name: str, template_name: str) -> ConfigManager:
"""加载Python模块配置文件"""