added choosen answer to poll feedback

This commit is contained in:
Sarah Faey 2023-02-14 18:53:26 +01:00
parent 9e3eaebb3d
commit eaa0b4c4ef
3 changed files with 6 additions and 3 deletions

View file

@ -74,7 +74,7 @@ namespace DiscordBot.CommandHandlers
UserId = modal.User.Id
};
await _httpService.AnswerPoll(answer);
await modal.RespondAsync("Answer sent.", ephemeral: true);
await modal.RespondAsync($"Answer \"{modalAnswer}\" sent.", ephemeral: true);
break;
}
}