mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-04 23:17:20 +08:00
refactor: clear public entrypoint complexity debt
This commit is contained in:
@@ -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 文本补充输入。
|
||||
|
||||
Reference in New Issue
Block a user