mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-14 15:53:30 -07:00
Merge e6571d95ee into 72f9e981de
This commit is contained in:
commit
e1a83aa176
|
|
@ -200,6 +200,10 @@ public abstract class ExportCommandBase : DiscordCommandBase
|
||||||
await console.Output.WriteLineAsync($"Fetched {fetchedThreadsCount} thread(s).");
|
await console.Output.WriteLineAsync($"Fetched {fetchedThreadsCount} thread(s).");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// De-duplicate channels to avoid exporting the same channel multiple times
|
||||||
|
//https://github.com/Tyrrrz/DiscordChatExporter/issues/1433
|
||||||
|
unwrappedChannels = unwrappedChannels.DistinctBy(c => c.Id).ToList();
|
||||||
|
|
||||||
// Make sure the user does not try to export multiple channels into one file.
|
// Make sure the user does not try to export multiple channels into one file.
|
||||||
// Output path must either be a directory or contain template tokens for this to work.
|
// Output path must either be a directory or contain template tokens for this to work.
|
||||||
// https://github.com/Tyrrrz/DiscordChatExporter/issues/799
|
// https://github.com/Tyrrrz/DiscordChatExporter/issues/799
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue