Closed mohammadaboalnadar closed 2 years ago
RGB values lie in the range 0-255. Your 299 value for blue is not valid and is therefore being ignored, which would create green.
That color picker you're using is trash.
I don't know how I never noticed that. Sorry for the issue.
Which package is this bug report for?
discord.js
Issue description
https://discord.js.org/#/docs/discord.js/stable/typedef/ColorResolvable
I am making an embed with the color set to
[45, 151, 299]
but it shows the embed green when it should be blueCode sample
Package version
discordjs/rest@0.3.0 | discord.js@13.6.0
Node.js version
v17.4.0
Operating system
Windows 10
Priority this issue should have
Low
Which partials do you have configured?
Not applicable (subpackage bug)
Which gateway intents are you subscribing to?
Not applicable (subpackage bug)
I haven't tested this issue on a development release
I tried but it just breaks my whole bot