mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-14 15:53:30 -07:00
parent
b844e48016
commit
f505ff3f1e
|
|
@ -150,7 +150,8 @@ public abstract class ExportCommandBase : TokenCommandBase
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
await progressContext.StartTaskAsync($"{channel.Category.Name} / {channel.Name}",
|
await progressContext.StartTaskAsync(
|
||||||
|
$"{channel.Category.Name} / {channel.Name}",
|
||||||
async progress =>
|
async progress =>
|
||||||
{
|
{
|
||||||
var guild = await Discord.GetGuildAsync(channel.GuildId, innerCancellationToken);
|
var guild = await Discord.GetGuildAsync(channel.GuildId, innerCancellationToken);
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,7 @@ internal static class ConsoleExtensions
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
progressTask.Value = progressTask.MaxValue;
|
||||||
progressTask.StopTask();
|
progressTask.StopTask();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue