Added int overload to EmbedBuilderExtensions
This commit is contained in:
@@ -8,6 +8,9 @@ namespace Discord
|
||||
public static EmbedBuilder WithColor(this EmbedBuilder builder, byte r, byte g, byte b) =>
|
||||
builder.WithColor(new Color(r, g, b));
|
||||
|
||||
public static EmbedBuilder WithColor(this EmbedBuilder builder, int r, int g, int b) =>
|
||||
builder.WithColor(new Color(r, g, b));
|
||||
|
||||
public static EmbedBuilder WithColor(this EmbedBuilder builder, float r, float g, float b) =>
|
||||
builder.WithColor(new Color(r, g, b));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user