Fix Help handler and filter interception

This commit is contained in:
2026-02-07 22:51:57 +03:00
parent 745a5171a1
commit 69ace93cac
2 changed files with 2 additions and 2 deletions

View File

@@ -77,7 +77,7 @@ async def ds(msg: Message):
await cmd_docker_status(msg)
@dp.message(F.text)
@dp.message(F.text, F.func(lambda msg: msg.from_user and msg.from_user.id in LOG_FILTER_PENDING))
async def log_filter_input(msg: Message):
if not is_admin_msg(msg):
return

View File

@@ -5,7 +5,7 @@ from auth import is_admin_msg
from keyboards import menu_kb
@dp.message(F.text == " Help")
@dp.message(F.text.in_({" Help", " Help", "Help"}))
async def help_cmd(msg: Message):
if not is_admin_msg(msg):
return