fix: [File] remove unused tags "_downloaded"

This commit is contained in:
anka
2025-05-09 09:58:37 +00:00
parent d9d94af022
commit 7fd765421f
+1 -1
View File
@@ -583,7 +583,7 @@ class File(BaseMessageComponent):
if self.file_ and os.path.exists(self.file_):
return os.path.abspath(self.file_)
if self.url and not self._downloaded:
if self.url:
try:
loop = asyncio.get_event_loop()
if loop.is_running():