From 2c4f812d4f3dca336ec618565321cf154c008612 Mon Sep 17 00:00:00 2001 From: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com> Date: Thu, 15 Dec 2022 20:19:12 +0200 Subject: [PATCH] Add link to Discord rate limit docs in comments --- DiscordChatExporter.Core/Discord/DiscordClient.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/DiscordChatExporter.Core/Discord/DiscordClient.cs b/DiscordChatExporter.Core/Discord/DiscordClient.cs index 9f37f65..4b956c0 100644 --- a/DiscordChatExporter.Core/Discord/DiscordClient.cs +++ b/DiscordChatExporter.Core/Discord/DiscordClient.cs @@ -57,6 +57,7 @@ public class DiscordClient // make any more requests, but implementing a smarter solution would // require properly keeping track of Discord's global/per-route/per-resource // rate limits and that's just way too much effort. + // https://discord.com/developers/docs/topics/rate-limits var remainingRequestCount = response .Headers .TryGetValue("X-RateLimit-Remaining")?