mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-14 18:11:23 +01:00
Pop guild key during fetch if revoked
Because the key is supposedly no good
This commit is contained in:
parent
d90cd64b0f
commit
0200923524
@ -295,6 +295,8 @@ def fetch():
|
||||
messages = {}
|
||||
if status['banned'] or status['revoked']:
|
||||
status_code = 403
|
||||
if user_unauthenticated():
|
||||
session['user_keys'].pop(guild_id, None)
|
||||
else:
|
||||
chan = filter_guild_channel(guild_id, channel_id)
|
||||
if not chan.get("read"):
|
||||
|
Loading…
Reference in New Issue
Block a user