diff --git a/program/music.py b/program/music.py index 0596428..2ab9aeb 100644 --- a/program/music.py +++ b/program/music.py @@ -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: aing = await c.get_me() 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: aing = await c.get_me() except Exception as e: diff --git a/program/video.py b/program/video.py index 0f773c9..9476fd9 100644 --- a/program/video.py +++ b/program/video.py @@ -68,6 +68,8 @@ async def vplay(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: aing = await c.get_me() except Exception as e: @@ -297,6 +299,8 @@ async def vstream(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: aing = await c.get_me() except Exception as e: