Skip to content

Commit eaa9d7e

Browse files
authored
Removed button when taking files with link
1 parent 66d690a commit eaa9d7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/commands.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ async def start_command(client: Client, message: Message):
5050
return
5151
for msg in msgs:
5252
try:
53-
await msg.copy(chat_id=message.from_user.id)
53+
await msg.copy(chat_id=message.from_user.id, reply_markup = None)
5454
await asyncio.sleep(0.5)
5555
except FloodWait as e:
5656
await asyncio.sleep(e.x)
57-
await msg.copy(chat_id=message.from_user.id)
57+
await msg.copy(chat_id=message.from_user.id, reply_markup = None)
5858
except:
5959
pass
6060
return

0 commit comments

Comments
 (0)