Spaces:
Sleeping
Sleeping
Captain D. Ezio
commited on
Commit
·
a2a21bb
1
Parent(s):
8657278
Approve member checking
Browse files- Powers/plugins/info.py +2 -2
Powers/plugins/info.py
CHANGED
@@ -283,8 +283,8 @@ async def info_func(c: Gojo, message: Message):
|
|
283 |
except:
|
284 |
pass
|
285 |
if not status or status == "Member":
|
286 |
-
approved_users = Approve(m.chat.id).
|
287 |
-
if user
|
288 |
status = "Member, Approved"
|
289 |
|
290 |
if status:
|
|
|
283 |
except:
|
284 |
pass
|
285 |
if not status or status == "Member":
|
286 |
+
approved_users = Approve(m.chat.id).check_approve(user)
|
287 |
+
if Approve(m.chat.id).check_approve(user):
|
288 |
status = "Member, Approved"
|
289 |
|
290 |
if status:
|