Escape markup in CLI

This commit is contained in:
Tyrrrz
2023-10-13 01:17:13 +03:00
parent 8d01c6be35
commit b298b45cf7
4 changed files with 19 additions and 8 deletions

View File

@@ -200,7 +200,7 @@ public abstract class ExportCommandBase : DiscordCommandBase
try
{
await ctx.StartTaskAsync(
channel.GetHierarchicalName(),
Markup.Escape(channel.GetHierarchicalName()),
async progress =>
{
var guild = await Discord.GetGuildAsync(