mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
All .AddField calls no longer use builder
- Cleaned up convertlist and listserver embeds slightly
This commit is contained in:
@@ -62,8 +62,8 @@ namespace NadekoBot.Modules.Administration
|
||||
{
|
||||
await (await user.GetOrCreateDMChannelAsync().ConfigureAwait(false)).EmbedAsync(new EmbedBuilder().WithErrorColor()
|
||||
.WithDescription(GetText("warned_on", ctx.Guild.ToString()))
|
||||
.AddField(efb => efb.WithName(GetText("moderator")).WithValue(ctx.User.ToString()))
|
||||
.AddField(efb => efb.WithName(GetText("reason")).WithValue(reason ?? "-")))
|
||||
.AddField(GetText("moderator"), ctx.User.ToString())
|
||||
.AddField(GetText("reason"), reason ?? "-"))
|
||||
.ConfigureAwait(false);
|
||||
}
|
||||
catch
|
||||
|
Reference in New Issue
Block a user