mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-23 00:42:56 +00:00
Fix an error with logging in the login method.
This commit is contained in:
@@ -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