Skip to content

Commit

Permalink
Clone delay removed, Readme edit
Browse files Browse the repository at this point in the history
Clone delay removed : Bot will clone the files at its best performance available.
  • Loading branch information
m4mallu committed May 25, 2021
1 parent 9f413fc commit 2db09e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,5 @@ python3 main.py
<img alt="Renjith Mangal" src ="https://telegra.ph/file/1001b7b08b0e9c266f780.png" width="150" />
</a>
</p>

[𝐃𝐢𝐬𝐜𝐥𝐚𝐢𝐦𝐛𝐞𝐫:](https://telegra.ph/Disclaimer---Clonebot-05-25)
3 changes: 2 additions & 1 deletion plugins/clone.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ async def clone_medias(client: Bot, message: Message):
update
)
)
await asyncio.sleep(1)
except FloodWait as e:
await asyncio.sleep(e.x)
except Exception:
Expand All @@ -84,6 +83,8 @@ async def clone_medias(client: Bot, message: Message):
)
except FloodWait as e:
await asyncio.sleep(e.x)
except Exception:
pass
if usr in clone_status:
pass
else:
Expand Down

0 comments on commit 2db09e8

Please sign in to comment.