Fixed achievement can see element
This commit is contained in:
parent
7888783b6a
commit
ca5db6d397
@ -101,9 +101,7 @@ class QueryABC(ObjectType):
|
|||||||
element: Achievement = element
|
element: Achievement = element
|
||||||
for u in user.users:
|
for u in user.users:
|
||||||
u: User = u
|
u: User = u
|
||||||
guild = bot.get_guild(u.server.discord_id)
|
if u.server.id == element.server.id:
|
||||||
member = guild.get_member(u.discord_id)
|
|
||||||
if permissions.is_member_moderator(member) and u.server.id == element.server.id:
|
|
||||||
access = True
|
access = True
|
||||||
break
|
break
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user