This commit is contained in:
dj
2024-02-09 04:57:49 +03:00
parent a2d9e2b310
commit 546bcf468b
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ async def admin_database(message: Message, bot: Bot, state: FSM, arSession: ARS,
await message.answer_document( await message.answer_document(
FSInputFile(PATH_DATABASE), FSInputFile(PATH_DATABASE),
caption=f"<b>📦 #BACKUP | <code>{get_date(full=False)}</code></b>", caption=f"<b>📦 #BACKUP | <code>{get_date()}</code></b>",
) )
+1 -2
View File
@@ -19,8 +19,7 @@ async def autobackup_admin(bot: Bot):
await bot.send_document( await bot.send_document(
admin, admin,
FSInputFile(PATH_DATABASE), FSInputFile(PATH_DATABASE),
caption=f"<b>📦 AUTOBACKUP</b>\n" caption=f"<b>📦 #AUTOBACKUP | <code>{get_date()}</code></b>",
f"🕰 <code>{get_date()}</code>",
) )
except: except:
pass pass