Help fr
Error fetching leaderboard: CombinedError (3)
Received one or more errors
1 ExpectedValidationError > s.literal(V)
| Expected values to be equals | | Expected: | | null | | Received: | | '88e1fd' 2 ValidationError > s.number | Expected a number primitive | | Received: | | '88e1fd' 3 ValidationError > s.tuple(T) | Expected an array | | Received: | | '88e1fd' idk what im doing wrong
| Expected values to be equals | | Expected: | | null | | Received: | | '88e1fd' 2 ValidationError > s.number | Expected a number primitive | | Received: | | '88e1fd' 3 ValidationError > s.tuple(T) | Expected an array | | Received: | | '88e1fd' idk what im doing wrong
7 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OPconst lb = new EmbedBuilder()
.setTitle('Leaderboard')
.setDescription(lbd)
.setColor('88e1fd');
thats where the issue is occuring
ik the color is correect because it works for rest of my code
the setColor method needs a valid hex number and this one isn't
do
.setColor(0x88e1fd)
insteadohhh ok ty its because on my other code the .setColor still worked without the hex
being valid
that's weird, that shouldn't work
😭 ye
but it did
o9k irt works now
ty
👍