mirror of
https://github.com/djimboy/djimbo_template_aio3.git
synced 2026-07-25 09:44:29 +00:00
Update
This commit is contained in:
@@ -13,12 +13,12 @@ async def startup_notify(bot: Bot):
|
||||
|
||||
|
||||
# Автоматические бэкапы БД
|
||||
async def autobackup(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>")
|
||||
f"🕰 <code>{get_date()}</code>")
|
||||
except:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user