[CLI] Move Markup.Escape(...) to ConsoleExtensions

This commit is contained in:
Tyrrrz
2021-04-26 19:47:25 +03:00
parent 0ec6027a93
commit 021682899a
2 changed files with 6 additions and 3 deletions

View File

@@ -14,7 +14,6 @@ using DiscordChatExporter.Core.Exceptions;
using DiscordChatExporter.Core.Exporting;
using DiscordChatExporter.Core.Exporting.Partitioning;
using DiscordChatExporter.Core.Utils.Extensions;
using Spectre.Console;
using Tyrrrz.Extensions;
namespace DiscordChatExporter.Cli.Commands.Base
@@ -65,7 +64,7 @@ namespace DiscordChatExporter.Cli.Commands.Base
// Export
try
{
await progressContext.StartTaskAsync(Markup.Escape($"{channel.Category} / {channel.Name}"), async progress =>
await progressContext.StartTaskAsync($"{channel.Category} / {channel.Name}", async progress =>
{
var guild = await Discord.GetGuildAsync(channel.GuildId);