refactor: clear public entrypoint complexity debt

This commit is contained in:
jxxghp
2026-08-22 23:28:30 +08:00
parent 56cb7294eb
commit e602c23668
8 changed files with 143 additions and 66 deletions
+11
View File
@@ -179,6 +179,17 @@ class SiteInteractionHandler:
userid: Union[str, int],
username: str,
text: str,
) -> bool:
"""处理 /sites 文本交互并保持消息链公开 ABI。"""
return self._handle_text_interaction(channel, source, userid, username, text)
def _handle_text_interaction(
self,
channel: NotificationChannel,
source: str,
userid: Union[str, int],
username: str,
text: str,
) -> bool:
"""
处理 /sites 文本补充输入。