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()