detect Anonymous Admin
if you're on Anonymous Admin mode, you need to revert back into user account.
This commit is contained in:
parent
f889e0b313
commit
4be0440ecb
@ -62,6 +62,8 @@ async def play(c: Client, m: Message):
|
|||||||
]
|
]
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
if m.sender_chat:
|
||||||
|
return await m.reply_text("you're an __Anonymous Admin__ !\n\n» revert back to user account from admin rights.")
|
||||||
try:
|
try:
|
||||||
aing = await c.get_me()
|
aing = await c.get_me()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
@ -267,6 +269,8 @@ async def stream(c: Client, m: Message):
|
|||||||
]
|
]
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
if m.sender_chat:
|
||||||
|
return await m.reply_text("you're an __Anonymous Admin__ !\n\n» revert back to user account from admin rights.")
|
||||||
try:
|
try:
|
||||||
aing = await c.get_me()
|
aing = await c.get_me()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user