mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 02:08:27 -04:00
18 lines
538 B
C#
18 lines
538 B
C#
namespace NadekoBot.Extensions;
|
|
|
|
public static class ResponseBuilderExtensions
|
|
{
|
|
// todo delete this
|
|
|
|
public static EmbedBuilder WithColor(this EmbedBuilder eb, EmbedColor color)
|
|
=> eb;
|
|
|
|
public static EmbedBuilder WithPendingColor(this EmbedBuilder eb)
|
|
=> eb.WithColor(EmbedColor.Error);
|
|
|
|
public static EmbedBuilder WithOkColor(this EmbedBuilder eb)
|
|
=> eb.WithColor(EmbedColor.Ok);
|
|
|
|
public static EmbedBuilder WithErrorColor(this EmbedBuilder eb)
|
|
=> eb.WithColor(EmbedColor.Error);
|
|
} |