Skip to content

Commit

Permalink
Approve member checking
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgojoof6eyes authored Jan 7, 2025
1 parent fb736be commit 6eda5c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Powers/plugins/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,8 @@ async def info_func(c: Gojo, message: Message):
except:
pass
if not status or status == "Member":
approved_users = Approve(m.chat.id).list_approved()
if user in approved_users:
approved_users = Approve(m.chat.id).check_approve(user)
if Approve(m.chat.id).check_approve(user):
status = "Member, Approved"

if status:
Expand Down

0 comments on commit 6eda5c6

Please sign in to comment.