mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 06:27:03 +01:00
Fix for revoke
This commit is contained in:
parent
4a09678a8d
commit
6ddf1b41de
@ -27,7 +27,7 @@ def checkUserRevoke(guild_id, user_key=None):
|
|||||||
return revoked
|
return revoked
|
||||||
member = discord_api.get_guild_member(guild_id, session['user_id'])
|
member = discord_api.get_guild_member(guild_id, session['user_id'])
|
||||||
if member['code'] == 200:
|
if member['code'] == 200:
|
||||||
revoked = True
|
revoked = False
|
||||||
return revoked
|
return revoked
|
||||||
|
|
||||||
def checkUserBanned(guild_id, ip_address=None):
|
def checkUserBanned(guild_id, ip_address=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user