From 5ec1d8441dd34aa41678681a1a3228d041a5399c Mon Sep 17 00:00:00 2001 From: imp <106537315+imptype@users.noreply.github.com> Date: Mon, 1 Sep 2025 20:29:00 +0100 Subject: [PATCH] Fix whitespace --- discord/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/http.py b/discord/http.py index 6693817f6..ddae63890 100644 --- a/discord/http.py +++ b/discord/http.py @@ -392,7 +392,7 @@ class Ratelimit: self.remaining = self.limit - self.outgoing self.reset_at = 0.0 - def update(self, response: aiohttp.ClientResponse, data: Union[Dict[str, Any], str]) -> bool: + def update(self, response: aiohttp.ClientResponse, data: Union[Dict[str, Any], str]) -> bool: # Shared scope 429 has longer "reset_at", determined using the retry-after field limit = int(response.headers['X-Ratelimit-Limit']) if response.headers.get('X-RateLimit-Scope') == 'shared':