Spaces:
Paused
Paused
Captain D. Ezio
commited on
Commit
·
10e4c2d
1
Parent(s):
e9bca6e
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:
|