Fixed check for if ticket is already in destination category

This commit is contained in:
Toastie 2024-12-27 01:31:19 +13:00
parent f0e48cc2ab
commit 769643a292
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4

View file

@ -54,7 +54,7 @@ public class MoveCommand
return;
}
if (command.Channel.Id == categoryChannel.Id)
if (command.Channel.Parent.Id == categoryChannel.Id)
{
await command.RespondAsync(new DiscordEmbedBuilder
{