mirror of
https://github.com/Xtao-Labs/sticker-captcha-bot.git
synced 2024-11-25 09:37:34 +00:00
fix: admin change notice
This commit is contained in:
parent
ba68b86dbe
commit
3a78dbbca1
@ -41,7 +41,7 @@ async def invite(client: Client, chat_member_updated: ChatMemberUpdated):
|
||||
if (
|
||||
old_user
|
||||
and old_user.id == user.id
|
||||
and old_user.status
|
||||
and old_member.status
|
||||
in {
|
||||
ChatMemberStatus.ADMINISTRATOR,
|
||||
ChatMemberStatus.OWNER,
|
||||
|
Loading…
Reference in New Issue
Block a user