From a1cfa41953e9f83cafaba453d750c688bcad3d24 Mon Sep 17 00:00:00 2001 From: Quin Lynch <49576606+quinchs@users.noreply.github.com> Date: Wed, 16 Feb 2022 11:13:36 -0400 Subject: [PATCH] Fix stream access exception when ratelimited (#2117) --- src/Discord.Net.Rest/Net/Queue/RequestQueueBucket.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Discord.Net.Rest/Net/Queue/RequestQueueBucket.cs b/src/Discord.Net.Rest/Net/Queue/RequestQueueBucket.cs index 3bdfb2ffe1..3eb6567450 100644 --- a/src/Discord.Net.Rest/Net/Queue/RequestQueueBucket.cs +++ b/src/Discord.Net.Rest/Net/Queue/RequestQueueBucket.cs @@ -75,7 +75,6 @@ public async Task SendAsync(RestRequest request) switch (response.StatusCode) { case (HttpStatusCode)429: - info.ReadRatelimitPayload(response.Stream); if (info.IsGlobal) { #if DEBUG_LIMITS