mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-05-02 10:38:27 +00:00
Escape brackets in category name in CLI (#558)
This commit is contained in:
@@ -14,6 +14,7 @@ using DiscordChatExporter.Core.Exceptions;
|
|||||||
using DiscordChatExporter.Core.Exporting;
|
using DiscordChatExporter.Core.Exporting;
|
||||||
using DiscordChatExporter.Core.Exporting.Partitioning;
|
using DiscordChatExporter.Core.Exporting.Partitioning;
|
||||||
using DiscordChatExporter.Core.Utils.Extensions;
|
using DiscordChatExporter.Core.Utils.Extensions;
|
||||||
|
using Spectre.Console;
|
||||||
using Tyrrrz.Extensions;
|
using Tyrrrz.Extensions;
|
||||||
|
|
||||||
namespace DiscordChatExporter.Cli.Commands.Base
|
namespace DiscordChatExporter.Cli.Commands.Base
|
||||||
@@ -64,7 +65,7 @@ namespace DiscordChatExporter.Cli.Commands.Base
|
|||||||
// Export
|
// Export
|
||||||
try
|
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);
|
var guild = await Discord.GetGuildAsync(channel.GuildId);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user