mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 09:18:27 -04:00
17 lines
626 B
C#
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")
|
|
// };
|
|
|
|
} |