update genshin

This commit is contained in:
hibiki
2021-06-21 09:53:33 +08:00
parent 647ead8b6d
commit 862776b011
403 changed files with 138 additions and 239 deletions
-2
View File
@@ -28,8 +28,6 @@ send_img = on_command("img", aliases=cmd, priority=5, block=True)
@send_img.handle()
async def _(bot: Bot, event: Event, state: T_State):
img_id = str(event.get_message())
if img_id in ['帮助']:
await send_img.finish(__plugin_usage__)
path = cn2py(state["_prefix"]["raw_command"]) + '/'
if not os.path.exists(IMAGE_PATH + path):
logger.warning(f'未找到 {path} 文件夹,调用取消!')