From 769643a2920c0dc7d9a4e1f4369b1b2921368a62 Mon Sep 17 00:00:00 2001 From: Toastie Date: Fri, 27 Dec 2024 01:31:19 +1300 Subject: [PATCH] Fixed check for if ticket is already in destination category --- Commands/MoveCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Commands/MoveCommand.cs b/Commands/MoveCommand.cs index b028cee..28fdc1b 100644 --- a/Commands/MoveCommand.cs +++ b/Commands/MoveCommand.cs @@ -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 {