From a12886f3c8317c9f14cdb478c05c18afc84fe79c Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Thu, 20 Jan 2022 21:14:56 +0700 Subject: [PATCH] no need --- driver/perms.py | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 driver/perms.py diff --git a/driver/perms.py b/driver/perms.py deleted file mode 100644 index d8558cd..0000000 --- a/driver/perms.py +++ /dev/null @@ -1,10 +0,0 @@ -import asyncio -from driver.veez import bot -from pyrogram.types import Message - -async def member_permissions(chat_id: int, user_id: int): - perms = [] - member = await bot.get_chat_member(chat_id, user_id) - if member.can_manage_voice_chats: - perms.append("can_manage_voice_chats") - return perms