From 28ef360d5fd4b86f051b7fd72988bc2f6d9dc82b Mon Sep 17 00:00:00 2001 From: "Nikita Tyukalov, ASUS, Linux" Date: Wed, 26 Aug 2026 21:29:35 +0300 Subject: [PATCH] Removed excess message in !bans command --- bot_callbacks.py | 1 - 1 file changed, 1 deletion(-) diff --git a/bot_callbacks.py b/bot_callbacks.py index 8676e14..8f91c2c 100644 --- a/bot_callbacks.py +++ b/bot_callbacks.py @@ -217,7 +217,6 @@ async def _on_cmd_bans(room: MatrixRoom, args: list[str]) -> None: if not bans: await _bot.send_text_to_room(room.room_id, "Нет заблокированных IP адресов", is_html=True) return - await _bot.send_text_to_room(room.room_id, f"Статус бана 127.0.0.1: {"БАН" if _db.ban_check("127.0.0.1") else "небан"}", is_html=True) # create the response result = "Список заблокированных IP