This commit is contained in:
Djimbo
2023-01-19 05:31:54 +03:00
parent edf796a76d
commit 2c64b6208d
13 changed files with 67 additions and 58 deletions
+6 -4
View File
@@ -16,9 +16,11 @@ async def startup_notify(bot: Bot):
async def autobackup_admin(bot: Bot):
for admin in get_admins():
try:
await bot.send_document(admin,
FSInputFile(PATH_DATABASE),
caption=f"<b>📦 AUTOBACKUP</b>\n"
f"🕰 <code>{get_date()}</code>")
await bot.send_document(
admin,
FSInputFile(PATH_DATABASE),
caption=f"<b>📦 AUTOBACKUP</b>\n"
f"🕰 <code>{get_date()}</code>",
)
except:
pass