Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions astrbot/core/pipeline/respond/stage.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,11 @@ async def process(
)
return
async with session_lock_manager.acquire_lock(event.unified_msg_origin):
for comp in result.chain:
i = await self._calc_comp_interval(comp)
await asyncio.sleep(i)
for index, comp in enumerate(result.chain):
if index > 0:
i = await self._calc_comp_interval(comp)
await asyncio.sleep(i)

try:
if comp.type in need_separately:
await event.send(MessageChain([comp]))
Expand Down