We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36d356e commit 4d92ac1Copy full SHA for 4d92ac1
1 file changed
astrbot/core/pipeline/result_decorate/stage.py
@@ -30,7 +30,8 @@ async def initialize(self, ctx: PipelineContext) -> None:
30
"reply_with_quote"
31
]
32
self.reply_with_quote_scope = ctx.astrbot_config["platform_settings"].get(
33
- "reply_with_quote_scope", "all"
+ "reply_with_quote_scope",
34
+ "all",
35
)
36
self.t2i_word_threshold = ctx.astrbot_config["t2i_word_threshold"]
37
try:
@@ -411,6 +412,5 @@ async def process(
411
412
if should_quote and not any(
413
isinstance(item, File) for item in result.chain
414
):
- result.chain.insert(
415
- 0, Reply(id=event.message_obj.message_id)
416
- )
+ result.chain.insert(0, Reply(id=event.message_obj.message_id))
+
0 commit comments