From 2a92c4d5de89c0e191f452fde28e4d9e3fd43926 Mon Sep 17 00:00:00 2001 From: Raven95676 Date: Sun, 13 Apr 2025 11:22:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=AF=BC=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../platform/sources/aiocqhttp/aiocqhttp_message_event.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/astrbot/core/platform/sources/aiocqhttp/aiocqhttp_message_event.py b/astrbot/core/platform/sources/aiocqhttp/aiocqhttp_message_event.py index 499b6e54d..a798360d5 100644 --- a/astrbot/core/platform/sources/aiocqhttp/aiocqhttp_message_event.py +++ b/astrbot/core/platform/sources/aiocqhttp/aiocqhttp_message_event.py @@ -1,5 +1,5 @@ import asyncio -from typing import AsyncGenerator +from typing import AsyncGenerator, List, Dict import re from astrbot.api.event import AstrMessageEvent, MessageChain @@ -126,7 +126,7 @@ class AiocqhttpMessageEvent(AstrMessageEvent): group_id=group_id, ) - members: typing.List[typing.Dict] = await self.bot.call_action( + members: List[Dict] = await self.bot.call_action( "get_group_member_list", group_id=group_id, )