From 9f3474eedde69829276d860723893a6f0ca9ae56 Mon Sep 17 00:00:00 2001 From: Yasir Aris M Date: Thu, 23 Nov 2023 11:07:15 +0700 Subject: [PATCH] Fix filters --- misskaty/plugins/filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misskaty/plugins/filters.py b/misskaty/plugins/filters.py index 537bf69c20..de25f18cee 100644 --- a/misskaty/plugins/filters.py +++ b/misskaty/plugins/filters.py @@ -161,7 +161,7 @@ async def del_filter(_, m): ) async def filters_re(_, message): text = message.text.lower().strip() - if not text: + if not text or (m.command and m.command[0].lower() in ["filter", "addfilter"]): return chat_id = message.chat.id list_of_filters = await get_filters_names(chat_id)