From a254bc569733483b80a97893a82fe8684909bb9e Mon Sep 17 00:00:00 2001 From: Toastie Date: Fri, 27 Dec 2024 02:28:09 +1300 Subject: [PATCH] Fix delete command description --- Commands/InterviewTemplateCommands.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Commands/InterviewTemplateCommands.cs b/Commands/InterviewTemplateCommands.cs index 553808f..7f4dfaf 100644 --- a/Commands/InterviewTemplateCommands.cs +++ b/Commands/InterviewTemplateCommands.cs @@ -226,7 +226,7 @@ public class InterviewTemplateCommands [RequireGuild] [Command("delete")] - [Description("Provides a copy of the interview template for a category which you can edit and then reupload.")] + [Description("Deletes the interview template for a category.")] public async Task Delete(SlashCommandContext command, [Parameter("category")][Description("The category to delete the template for.")] DiscordChannel category) { @@ -240,7 +240,7 @@ public class InterviewTemplateCommands return; } - if (!Database.TryGetCategory(category.Id, out Database.Category categoryData)) + if (!Database.TryGetCategory(category.Id, out Database.Category _)) { await command.RespondAsync(new DiscordEmbedBuilder {