UPDATE README.md

This commit is contained in:
HibiKier 2022-12-26 22:41:11 +08:00
parent d2bb7ae493
commit a0b440efcd
3 changed files with 5 additions and 1 deletions

View File

@ -304,6 +304,7 @@ PS: **ARM平台** 请使用全量版 同时 **如果你的机器 RAM < 1G 可能
* 优化`gamedraw`插件
* 提供全局被动控制
* 群被动状态改为图片
* 修复epic获取到的简介不是中文的bug [@pull/1221](https://github.com/HibiKier/zhenxun_bot/pull/1221)
## 2022/12/24

View File

@ -39,6 +39,9 @@ def init_plugin_info():
if metadata and metadata.name
else get_attr(module, "__zx_plugin_name__", matcher.plugin_name)
)
if not plugin_name:
logger.warning(f"配置文件 模块:{plugin_model} 获取 plugin_name 失败...")
continue
if "[Admin]" in plugin_name:
plugin_type = PluginType.ADMIN
plugin_name = plugin_name.replace("[Admin]", "").strip()

View File

@ -187,4 +187,4 @@ async def get_epic_free(bot: Bot, type_event: str):
except TypeError as e:
# logger.info(str(e))
pass
return msg_list, 200
return msg_list, 200