This commit is contained in:
2026-01-23 18:40:54 +08:00
parent a97c1f2b3f
commit 8553c6797b
3 changed files with 60 additions and 12 deletions

View File

@@ -39,6 +39,7 @@ class Bot(MessageAPI, GroupAPI, FriendAPI, AccountAPI, MediaAPI):
"""
super().__init__(ws_client, ws_client.self_id or 0)
self.code_executor: Optional["CodeExecutor"] = None
self.nickname: str = ""
async def get_group_list(self, no_cache: bool = False) -> List[GroupInfo]:
# GroupAPI.get_group_list 不支持 no_cache 参数,这里忽略它