Poll will now properly show a question when it's started
This commit is contained in:
parent
e6e30f217b
commit
071623c2b9
@ -18,7 +18,6 @@ namespace NadekoBot.Common.Attributes
|
||||
var usage = Localization.LoadCommand(memberName.ToLowerInvariant()).Usage;
|
||||
return string.Join(" or ", usage
|
||||
.Select(x => Format.Code(x)));
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,6 @@ namespace NadekoBot.Common.ShardCom
|
||||
{
|
||||
public class ShardComMessage
|
||||
{
|
||||
|
||||
public int ShardId { get; set; }
|
||||
public ConnectionState ConnectionState { get; set; }
|
||||
public int Guilds { get; set; }
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user