@magicyan/discord 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -37,7 +37,8 @@ class EmbedPlusBuilder extends discord_js.EmbedBuilder {
37
37
  embed.setTimestamp(
38
38
  typeof timestamp === "string" ? new Date(timestamp) : timestamp
39
39
  );
40
- embed.setColor(color || colors.colors.embedbg);
40
+ if (color)
41
+ embed.setColor(color);
41
42
  super(embed.data);
42
43
  __publicField(this, "fields");
43
44
  this.fields = new fields.EmbedPlusFields(this);
@@ -35,7 +35,8 @@ class EmbedPlusBuilder extends EmbedBuilder {
35
35
  embed.setTimestamp(
36
36
  typeof timestamp === "string" ? new Date(timestamp) : timestamp
37
37
  );
38
- embed.setColor(color || colors.embedbg);
38
+ if (color)
39
+ embed.setColor(color);
39
40
  super(embed.data);
40
41
  __publicField(this, "fields");
41
42
  this.fields = new EmbedPlusFields(this);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magicyan/discord",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Simple functions to facilitate discord bot development",
5
5
  "license": "MIT",
6
6
  "type": "module",