You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
已经自己修复,可能是由于不同端如shamrock,llnt传回数据不同
utils.py改一下即可
for msg_seg in msg:
if msg_seg.type == "image":
filename = msg_seg.data.get("file", "")
filename = os.path.basename(filename) #新增这行
if not filename:
continue
# 检查图片文件夹中有无同名文件
---Original---
From: ***@***.***>
Sent at: 2024年3月14日(Thu) PM4:19
To: ***@***.***>;
Cc: ***@***.***>;"State ***@***.***>;
Subject: Re: [kexue-z/nonebot-plugin-word-bank2] 图片回复不会用 (Issue #52)
需要适配,暂时没有精力。
欢迎pr
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
请问如何使用图片回复功能?
使用“问123答[图片]”机器人没反应
问123答456这种文字类的都行
The text was updated successfully, but these errors were encountered: