reduce code complex

This commit is contained in:
MuXinCG
2026-02-15 18:01:53 +08:00
parent e672f71c12
commit 68181fae49
6 changed files with 213 additions and 145 deletions
+2
View File
@@ -21,6 +21,8 @@ class InboundMessage:
message_id: str = ""
media: list[str] = field(default_factory=list)
metadata: dict[str, Any] = field(default_factory=dict)
is_group: bool = False
was_mentioned: bool = True
@property
def sender(self) -> str: