Files
nadekobot/src/NadekoBot/_common/Services/IEmbedBuilderService.cs
2024-04-29 21:03:46 +00:00

17 lines
626 B
C#

#nullable disable
namespace NadekoBot.Services;
// todo remove
public sealed class DiscordEmbedBuilderWrapper
{
// public EmbedBuilder WithColor(EmbedColor color)
// => color switch
// {
// EmbedColor.Ok => Wrap(embed.WithColor(_botConfig.Color.Ok.ToDiscordColor())),
// EmbedColor.Pending => Wrap(embed.WithColor(_botConfig.Color.Pending.ToDiscordColor())),
// EmbedColor.Error => Wrap(embed.WithColor(_botConfig.Color.Error.ToDiscordColor())),
// _ => throw new ArgumentOutOfRangeException(nameof(color), "Unsupported EmbedColor type")
// };
}