Skip to content

Commit c15a2c3

Browse files
authored
Merge pull request #6 from Jijinr/main
file sending Step by step🤭
2 parents 1e4f336 + 7fc7513 commit c15a2c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/commands.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ async def start_command(client: Client, message: Message):
5353
for msg in msgs:
5454
try:
5555
await msg.copy(chat_id=message.from_user.id)
56+
await asyncio.sleep(0.5)
5657
except FloodWait as e:
5758
await asyncio.sleep(e.x)
5859
await msg.copy(chat_id=message.from_user.id)

0 commit comments

Comments
 (0)