fix: await async_download_group_file

This commit is contained in:
xtaodada 2022-07-28 22:46:53 +08:00 committed by XYenon
parent a4da2927fa
commit 7a3bccf8c0

View File

@ -401,7 +401,7 @@ class GoCQHttp(BaseClient):
"file_id": context["file"]["id"],
"busid": context["file"]["busid"],
}
self.async_download_group_file(**param_dict)
await self.async_download_group_file(**param_dict)
asyncio.create_task(_handle_group_file_upload_msg())