mirror of
https://github.com/MCMi460/3DS-RPC.git
synced 2025-06-18 13:35:34 -04:00
Use proper session variable to reset presence
This commit is contained in:
parent
f8225e1a73
commit
fc327b71a3
@ -132,7 +132,7 @@ class Discord():
|
||||
return True
|
||||
|
||||
def reset_presence(self, current_user: DiscordTable):
|
||||
if not session:
|
||||
if not current_user.session:
|
||||
print('[NO SESSION TO RESET]')
|
||||
return False
|
||||
elif time.time() - current_user.last_accessed <= 30:
|
||||
|
Loading…
Reference in New Issue
Block a user