Browse Source

Update http.py

fix grammar logic behind invalid token
pull/10217/head
Nairda 3 weeks ago
committed by GitHub
parent
commit
1ae8a5de25
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      discord/http.py

2
discord/http.py

@ -833,7 +833,7 @@ class HTTPClient:
except HTTPException as exc: except HTTPException as exc:
self.token = old_token self.token = old_token
if exc.status == 401: if exc.status == 401:
raise LoginFailure('Improper token has been passed.') from exc raise LoginFailure('An improper token has been provided.') from exc
raise raise
return data return data

Loading…
Cancel
Save