Fixed restart interview command not being ephemeral

This commit is contained in:
Toastie 2024-12-26 20:48:50 +13:00
parent e2494c73d4
commit f1ce93ae86
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4

View file

@ -12,7 +12,7 @@ public class RestartInterviewCommand
[Description("Restarts the automated interview in this channel, using an updated template if available.")]
public async Task OnExecute(SlashCommandContext command)
{
await command.DeferResponseAsync();
await command.DeferResponseAsync(true);
await Interviewer.RestartInterview(command);
await command.RespondAsync(new DiscordEmbedBuilder
{