fix: add await
This commit is contained in:
parent
10acc91fdb
commit
a1b7f88015
@ -366,7 +366,7 @@ class GoCQHttp(BaseClient):
|
|||||||
"context": context,
|
"context": context,
|
||||||
"download_url": context["file"]["url"],
|
"download_url": context["file"]["url"],
|
||||||
}
|
}
|
||||||
self.async_download_file(**param_dict)
|
await self.async_download_file(**param_dict)
|
||||||
|
|
||||||
asyncio.create_task(_handle_offline_file_upload_msg())
|
asyncio.create_task(_handle_offline_file_upload_msg())
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user