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, )