Poll will now properly show a question when it's started

This commit is contained in:
Master Kwoth
2017-10-29 05:01:39 +01:00
parent e6e30f217b
commit 071623c2b9
3 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,9 @@ namespace NadekoBot.Modules.Games
await Context.Channel
.EmbedAsync(new EmbedBuilder()
.WithTitle(GetText("poll_created", Context.User.ToString()))
.WithDescription(string.Join("\n", poll.Answers
.WithDescription(
Format.Bold(poll.Question) + "\n\n" +
string.Join("\n", poll.Answers
.Select(x => $"`{x.Index + 1}.` {Format.Bold(x.Text)}"))))
.ConfigureAwait(false);
else