diff --git a/packages/discord.js/src/structures/Embed.js b/packages/discord.js/src/structures/Embed.js index 1fb148d42..d630e6f41 100644 --- a/packages/discord.js/src/structures/Embed.js +++ b/packages/discord.js/src/structures/Embed.js @@ -1,7 +1,6 @@ 'use strict'; const isEqual = require('fast-deep-equal'); -const { Util } = require('../util/Util'); class Embed { /** @@ -194,18 +193,6 @@ class Embed { } return isEqual(other, this.data); } - - /** - * Sets the color of this embed - * @param {ColorResolvable} color The color of the embed - * @returns {Embed} - */ - setColor(color) { - if (color === null) { - return super.setColor(null); - } - return super.setColor(Util.resolveColor(color)); - } } module.exports = Embed;