Add shortcut commands for alerts, backup, docker, openwrt

This commit is contained in:
2026-02-08 23:01:33 +03:00
parent 77571da4d9
commit 2ee9756d12
4 changed files with 69 additions and 19 deletions

View File

@@ -212,6 +212,13 @@ async def openwrt_status(msg: Message):
asyncio.create_task(worker())
@dp.message(F.text == "/openwrt")
async def openwrt_cmd(msg: Message):
if not is_admin_msg(msg):
return
await openwrt_status(msg)
@dp.message(F.text == "🧾 Audit")
async def audit_log(msg: Message):
if not is_admin_msg(msg):