Update qq.py

This commit is contained in:
Liwx 2026-03-04 14:00:40 +08:00 committed by GitHub
parent 1303cc6669
commit d0a48ed23c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,6 +56,7 @@ class QQChannel(BaseChannel):
self.config: QQConfig = config
self._client: "botpy.Client | None" = None
self._processed_ids: deque = deque(maxlen=1000)
self._msg_seq: int = 1 # Message sequence to avoid QQ API deduplication
async def start(self) -> None:
"""Start the QQ bot."""