Fix delete command description

This commit is contained in:
Toastie 2024-12-27 02:28:09 +13:00
parent 87e5957ae9
commit a254bc5697
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4

View file

@ -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
{