mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-04-20 21:18:23 +00:00
Add a setting to control whether to respect advisory rate limits (#1342)
This commit is contained in:
@@ -3,6 +3,7 @@ using System.IO;
|
||||
using System.Text.Json.Serialization;
|
||||
using Cogwheel;
|
||||
using CommunityToolkit.Mvvm.ComponentModel;
|
||||
using DiscordChatExporter.Core.Discord;
|
||||
using DiscordChatExporter.Core.Exporting;
|
||||
using DiscordChatExporter.Gui.Framework;
|
||||
using DiscordChatExporter.Gui.Models;
|
||||
@@ -28,6 +29,10 @@ public partial class SettingsService()
|
||||
[ObservableProperty]
|
||||
public partial bool IsTokenPersisted { get; set; } = true;
|
||||
|
||||
[ObservableProperty]
|
||||
public partial RateLimitPreference RateLimitPreference { get; set; } =
|
||||
RateLimitPreference.RespectAll;
|
||||
|
||||
[ObservableProperty]
|
||||
public partial ThreadInclusionMode ThreadInclusionMode { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user