Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sleep before delete links
Browse files Browse the repository at this point in the history
5hojib committed Feb 1, 2025
1 parent 4ef0e7a commit cb6ff63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bot/modules/mirror_leech.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ruff: noqa: RUF006
from asyncio import create_task
from asyncio import create_task, sleep
from base64 import b64encode
from re import match as re_match

@@ -381,6 +381,7 @@ async def new_event(self):
session,
),
)
await sleep(1.2)
elif isinstance(self.link, dict):
create_task(add_direct_download(self, path))
elif self.is_jd:

0 comments on commit cb6ff63

Please sign in to comment.