Refer to Category.Name explicitly instead of relying on ToString()

This commit is contained in:
Tyrrrz
2021-11-19 22:18:15 +02:00
parent 1db2bb4170
commit 4974fe5292
4 changed files with 6 additions and 6 deletions

View File

@@ -38,7 +38,7 @@ namespace DiscordChatExporter.Cli.Commands
// Channel category / name
using (console.WithForegroundColor(ConsoleColor.White))
await console.Output.WriteLineAsync($"{channel.Category} / {channel.Name}");
await console.Output.WriteLineAsync($"{channel.Category.Name} / {channel.Name}");
}
}
}