Added .roleinfo commands, added the ability to show colors other than ok error and pending to IEmbedBuilder

This commit is contained in:
Kwoth
2022-08-11 17:04:51 +02:00
parent dc229ea2b3
commit b164da38e3
6 changed files with 42 additions and 0 deletions

View File

@@ -67,6 +67,9 @@ public sealed class DiscordEmbedBuilderWrapper : IEmbedBuilder
_ => throw new ArgumentOutOfRangeException(nameof(color), "Unsupported EmbedColor type")
};
public IEmbedBuilder WithDiscordColor(Color color)
=> Wrap(embed.WithColor(color));
public Embed Build()
=> embed.Build();