From e342a44c26840e669d821921eefaee5cfbfcb9dc Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Sun, 9 Apr 2017 12:33:48 -0700 Subject: [PATCH] No cache when checking guild member revoke --- titanembeds/blueprints/api/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/titanembeds/blueprints/api/api.py b/titanembeds/blueprints/api/api.py index 0091798..be8460f 100644 --- a/titanembeds/blueprints/api/api.py +++ b/titanembeds/blueprints/api/api.py @@ -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