Skip to content

Commit

Permalink
UPDATE README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
HibiKier committed Dec 26, 2022
1 parent d2bb7ae commit a0b440e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ PS: **ARM平台** 请使用全量版 同时 **如果你的机器 RAM < 1G 可能
* 优化`gamedraw`插件
* 提供全局被动控制
* 群被动状态改为图片
* 修复epic获取到的简介不是中文的bug [@pull/1221](https://github.com/HibiKier/zhenxun_bot/pull/1221)

## 2022/12/24

Expand Down
3 changes: 3 additions & 0 deletions basic_plugins/init_plugin_config/init_plugin_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion plugins/epic/data_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a0b440e

Please sign in to comment.