Skip to content

Commit e7f1209

Browse files
authored
Please wait message added
1 parent f68cc9a commit e7f1209

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,13 @@ async def start_command(client: Client, message: Message):
4040
ids = [int(int(argument[1]) / abs(CHANNEL_ID))]
4141
except:
4242
return
43+
temp_msg = await message.reply("Please wait...")
4344
try:
4445
messages = await get_messages(client, ids)
4546
except:
4647
await message.reply_text("Something went wrong..!")
4748
return
48-
print(len(messages))
49+
await temp_msg.delete()
4950
for msg in messages:
5051
try:
5152
await msg.copy(chat_id=message.from_user.id, reply_markup = None)

0 commit comments

Comments
 (0)