Narrow /docker_health match to avoid summary collisions

This commit is contained in:
2026-02-09 04:03:17 +03:00
parent 783f4abd98
commit 28caa551bd

View File

@@ -85,7 +85,7 @@ async def ds_cmd(msg: Message):
await cmd_docker_status(msg)
@dp.message(F.text.startswith("/docker_health"))
@dp.message(F.text, F.func(lambda m: (m.text or "").split()[0] == "/docker_health"))
async def docker_health(msg: Message):
if not is_admin_msg(msg):
return