Fix an error with logging in the login method.
This commit is contained in:
1 parent
a04a526566
commit
74db314d30
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -548,7 +548,7 @@ class Client(object):
|
||||
self._create_websocket(gateway.json().get('url'), reconnect=False)
|
||||
self._is_logged_in = True
|
||||
else:
|
||||
log.error(request_logging_format.format(name='login', response=response))
|
||||
log.error(request_logging_format.format(name='login', response=r))
|
||||
|
||||
def logout(self):
|
||||
"""Logs out of Discord and closes all connections."""
|
||||
|
||||
Reference in new issue
Block a user