Fixed restart interview command not being ephemeral
This commit is contained in:
parent
e2494c73d4
commit
f1ce93ae86
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ public class RestartInterviewCommand
|
||||||
[Description("Restarts the automated interview in this channel, using an updated template if available.")]
|
[Description("Restarts the automated interview in this channel, using an updated template if available.")]
|
||||||
public async Task OnExecute(SlashCommandContext command)
|
public async Task OnExecute(SlashCommandContext command)
|
||||||
{
|
{
|
||||||
await command.DeferResponseAsync();
|
await command.DeferResponseAsync(true);
|
||||||
await Interviewer.RestartInterview(command);
|
await Interviewer.RestartInterview(command);
|
||||||
await command.RespondAsync(new DiscordEmbedBuilder
|
await command.RespondAsync(new DiscordEmbedBuilder
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue