refactor: 独立长消息处理为longtext包

This commit is contained in:
RockChinQ
2024-01-25 17:05:09 +08:00
parent a9a798b19d
commit ea9ae85428
11 changed files with 344 additions and 316 deletions
+2 -3
View File
@@ -14,7 +14,6 @@ from ..utils import context
from ..plugin import host as plugin_host
from ..plugin import models as plugin_models
from ..qqbot import blob
import tips as tips_custom
from ..boot import app
from .cntfilter import entities
@@ -158,8 +157,8 @@ async def process_message(launcher_type: str, launcher_id: int, text_message: st
return []
else:
reply = [cntfilter_res.replacement]
reply = blob.check_text(reply[0])
reply = await mgr.longtext_pcs.check_and_process(reply[0])
else:
logging.info("回复[{}]消息".format(session_name))