forked from mttu-developers/konabot
fix
This commit is contained in:
@ -53,10 +53,10 @@ async def _(msg: UniMsg, evt: Event, bot: Bot, target: DepLongTaskTarget):
|
||||
if not err:
|
||||
await target.send_message("处理指令时出现问题:内容被拦截!请你检查你的内容是否合理!")
|
||||
return
|
||||
await target.send_message(res2.ostream)
|
||||
await target.send_message(res2.ostream, at=False)
|
||||
if res2.attachment is not None:
|
||||
# 潜在风险点:这里没有人可以做安全检查
|
||||
await target.send_message(UniMessage.image(raw=res2.attachment))
|
||||
await target.send_message(UniMessage.image(raw=res2.attachment), at=False)
|
||||
|
||||
|
||||
driver = nonebot.get_driver()
|
||||
|
||||
Reference in New Issue
Block a user