From 1ae8a5de25076adfa011ebd19bdd11028838cc5a Mon Sep 17 00:00:00 2001 From: Nairda <38843773+Nairdaa@users.noreply.github.com> Date: Thu, 26 Jun 2025 04:25:47 +0200 Subject: [PATCH] Update http.py fix grammar logic behind invalid token --- discord/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/http.py b/discord/http.py index f1f4ec58b..2d4f292f3 100644 --- a/discord/http.py +++ b/discord/http.py @@ -833,7 +833,7 @@ class HTTPClient: except HTTPException as exc: self.token = old_token if exc.status == 401: - raise LoginFailure('Improper token has been passed.') from exc + raise LoginFailure('An improper token has been provided.') from exc raise return data