mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-23 21:47:04 +01:00
No cache when checking guild member revoke
This commit is contained in:
parent
7eb64ca96e
commit
e342a44c26
@ -26,7 +26,7 @@ def checkUserRevoke(guild_id, user_key=None):
|
||||
banned = checkUserBanned(guild_id)
|
||||
if banned:
|
||||
return revoked
|
||||
member = discord_api.get_guild_member(guild_id, session['user_id'])
|
||||
member = discord_api.get_guild_member_nocache(guild_id, session['user_id'])
|
||||
if member['code'] == 200:
|
||||
revoked = False
|
||||
return revoked
|
||||
|
Loading…
Reference in New Issue
Block a user