mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-17 23:16:26 +00:00
Improve output path picker in GUI
This commit is contained in:
@@ -66,7 +66,8 @@ public class DiscordClient
|
||||
var resetAfterDelay = response
|
||||
.Headers
|
||||
.TryGetValue("X-RateLimit-Reset-After")?
|
||||
.Pipe(s => TimeSpan.FromSeconds(double.Parse(s, CultureInfo.InvariantCulture)));
|
||||
.Pipe(s => double.Parse(s, CultureInfo.InvariantCulture))
|
||||
.Pipe(TimeSpan.FromSeconds);
|
||||
|
||||
if (remainingRequestCount <= 0 && resetAfterDelay is not null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user