output fix

This commit is contained in:
Kwoth 2017-02-14 20:28:43 +01:00
parent 9edbd8535a
commit bfc10ab3e2

View File

@ -419,12 +419,12 @@ namespace NadekoBot.Modules.Administration
if (spam != null) if (spam != null)
embed.AddField(efb => efb.WithName("Anti-Spam") embed.AddField(efb => efb.WithName("Anti-Spam")
.WithValue(spam.ToString()) .WithValue(GetAntiSpamString(spam))
.WithIsInline(true)); .WithIsInline(true));
if (raid != null) if (raid != null)
embed.AddField(efb => efb.WithName("Anti-Raid") embed.AddField(efb => efb.WithName("Anti-Raid")
.WithValue(raid.ToString()) .WithValue(GetAntiRaidString(raid))
.WithIsInline(true)); .WithIsInline(true));
await Context.Channel.EmbedAsync(embed).ConfigureAwait(false); await Context.Channel.EmbedAsync(embed).ConfigureAwait(false);