From 51f34324fbdc9426c75ecfe4572d970ca5fc1d43 Mon Sep 17 00:00:00 2001 From: Michal Rudowicz Date: Wed, 12 Jun 2024 06:50:03 +0200 Subject: [PATCH] Fix typo --- autobanbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autobanbot.py b/autobanbot.py index 83aaa98..52630a2 100755 --- a/autobanbot.py +++ b/autobanbot.py @@ -23,7 +23,7 @@ async def new_msg(update, context, regexes): is_spam = True break if is_spam: - logger.info(f"Banning: {update.message}") + logging.info(f"Banning: {update.message}") update.message.chat.ban_member(update.message.from_user.id) update.message.delete()