discord.js help
I have this array of HEX color codesand the bot is supposed to take the last embed color in the channel, find it in the array and add the next one to the new embed but all it does is the
color_index
keeps returning 0 so it always returns the first color code from the array2 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!discord.js@14.14.1
Node v16.13.0
yes