Fix typo
This commit is contained in:
parent
768fc63c70
commit
51f34324fb
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue