mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 10:18:27 -04:00
Part2 of the response system rework
This commit is contained in:
18
src/NadekoBot/_common/Sender/ResponseBuilderExtensions.cs
Normal file
18
src/NadekoBot/_common/Sender/ResponseBuilderExtensions.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
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);
|
||||
}
|
Reference in New Issue
Block a user