mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-04-23 19:35:57 +00:00
Update qq.py
This commit is contained in:
parent
1303cc6669
commit
d0a48ed23c
@ -56,6 +56,7 @@ class QQChannel(BaseChannel):
|
|||||||
self.config: QQConfig = config
|
self.config: QQConfig = config
|
||||||
self._client: "botpy.Client | None" = None
|
self._client: "botpy.Client | None" = None
|
||||||
self._processed_ids: deque = deque(maxlen=1000)
|
self._processed_ids: deque = deque(maxlen=1000)
|
||||||
|
self._msg_seq: int = 1 # Message sequence to avoid QQ API deduplication
|
||||||
|
|
||||||
async def start(self) -> None:
|
async def start(self) -> None:
|
||||||
"""Start the QQ bot."""
|
"""Start the QQ bot."""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user