Skip to content

ColorResolvable includes "WHITE" as an option #3840

@Jiralite

Description

@Jiralite

Please describe the problem you are having in as much detail as possible:
Hi, I notice that "WHITE" is an acceptable ColorResolvable, but Discord itself doesn't support embeds with a int of 16777215 (which is #FFFFFF) and Discord reverts it to the default embed colour on desktop... should this be removed?

Here is a bug report made about this change: https://trello.com/c/RjoeLmJB, which is listed as not a bug.

Include a reproducible code sample here, if possible:

const { MessageEmbed } = require("discord.js");
const embed = new MessageEmbed();
embed.setTitle("White");
embed.setColor("WHITE");
client.channels.resolve("id").send(embed);

Further details:

  • discord.js version: Master
  • Node.js version: 12.6.0
  • Operating system: macOS
  • Priority this issue should have – please be realistic and elaborate if possible: Low.
  • I have also tested the issue on latest master, commit hash: c4bda74

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions