Small fixes

This commit is contained in:
SantaSpeen
2022-03-21 22:07:43 +03:00
parent f60ff3164c
commit 2d45aa1012
3 changed files with 3 additions and 1 deletions

View File

@@ -90,7 +90,7 @@ async def unmute(msg: types.Message):
pass
@dp.message_handler(regexp=r"\A(?:.|\/)(?:ban|заскамить)", is_chat_admin=True, chat_type=ChatType.SUPERGROUP)
@dp.message_handler(regexp=r"\A(?:.|\/)(?:ban|бан)", is_chat_admin=True, chat_type=ChatType.SUPERGROUP)
async def ban(msg: types.Message):
reply_message = msg.reply_to_message