mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-04-23 14:33:58 +00:00
Short-circuit if trying to export an empty channel or a channel with mismatching boundaries
Closes #1024
This commit is contained in:
@@ -169,10 +169,10 @@ public abstract class ExportCommandBase : DiscordCommandBase
|
||||
);
|
||||
}
|
||||
|
||||
// Export
|
||||
var cancellationToken = console.RegisterCancellationHandler();
|
||||
var errors = new ConcurrentDictionary<Channel, string>();
|
||||
|
||||
// Export
|
||||
await console.Output.WriteLineAsync($"Exporting {channels.Count} channel(s)...");
|
||||
await console.CreateProgressTicker().StartAsync(async progressContext =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user