mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-05-22 10:55:15 -04:00
Escape brackets in category name in CLI (#558)
This commit is contained in:
parent
eb49d0bd16
commit
0ec6027a93
1 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@ 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
|
||||
|
@ -64,7 +65,7 @@ namespace DiscordChatExporter.Cli.Commands.Base
|
|||
// Export
|
||||
try
|
||||
{
|
||||
await progressContext.StartTaskAsync($"{channel.Category} / {channel.Name}", async progress =>
|
||||
await progressContext.StartTaskAsync(Markup.Escape($"{channel.Category} / {channel.Name}"), async progress =>
|
||||
{
|
||||
var guild = await Discord.GetGuildAsync(channel.GuildId);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue