This commit is contained in:
@ -71,7 +71,7 @@ async def _(msg: UniMsg, evt: Event, bot: Bot, target: DepLongTaskTarget):
|
|||||||
return
|
return
|
||||||
|
|
||||||
env = TextHandlerEnvironment(is_trusted=False, event=evt)
|
env = TextHandlerEnvironment(is_trusted=False, event=evt)
|
||||||
results = await runner.run_pipeline(res, istream or None, evt, env)
|
results = await runner.run_pipeline(res, istream or None, env)
|
||||||
|
|
||||||
# 检查是否有错误
|
# 检查是否有错误
|
||||||
for r in results:
|
for r in results:
|
||||||
|
|||||||
Reference in New Issue
Block a user