output fix
This commit is contained in:
parent
9edbd8535a
commit
bfc10ab3e2
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user