mirror of
https://github.com/TeamPGM/PagerMaid-Pyro.git
synced 2024-11-21 23:55:33 +00:00
🚑️ hotfix: recovery no reply bug
This commit is contained in:
parent
d0b25d41b7
commit
57a0a8122a
@ -68,6 +68,8 @@ async def backup(message: Message):
|
|||||||
async def recovery(message: Message):
|
async def recovery(message: Message):
|
||||||
reply = message.reply_to_message
|
reply = message.reply_to_message
|
||||||
|
|
||||||
|
if not reply:
|
||||||
|
return await message.edit(lang('recovery_file_error'))
|
||||||
if not reply.document:
|
if not reply.document:
|
||||||
return await message.edit(lang('recovery_file_error'))
|
return await message.edit(lang('recovery_file_error'))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user