diff --git a/astrbot/core/pipeline/result_decorate/stage.py b/astrbot/core/pipeline/result_decorate/stage.py index 30191648..60720ceb 100644 --- a/astrbot/core/pipeline/result_decorate/stage.py +++ b/astrbot/core/pipeline/result_decorate/stage.py @@ -103,8 +103,12 @@ class ResultDecorateStage: if url: result.chain = [Image.fromURL(url)] + # at 回复 if self.reply_with_mention and event.get_message_type() != MessageType.FRIEND_MESSAGE: result.chain.insert(0, At(qq=event.get_sender_id(), name=event.get_sender_name())) + if len(result.chain) > 1 and isinstance(result.chain[1], Plain): + result.chain[1].text = "\n" + result.chain[1].text + # 引用回复 if self.reply_with_quote: result.chain.insert(0, Reply(id=event.message_obj.message_id)) \ No newline at end of file