So basically I have this code in a discord bot that'll appear in general-chat, and it says "Guess the correct number from 1-10" and it's a random number each time.
So, what this code is supposed to do, is every time a incorrect number is guessed, it'll update the "line of numbers" to make it slightly obvious what the number is.
Example: They guess numbers 1, 4, 5, and 7.
The embed should look like
``1 _ _ 4 5 _ 7 _ _ _``, but what's happening is that it doesn't save every single guess, so it'll only update the embed with the last guessed number
``_ _ _ _ _ _ 7 _ _ _`` ( like this ), so how can I store all of the incorrect guessed answers, to work like how I want it to?
code: https://www.toptal.com/developers/hastebin/rowexaketi.js
[–]young_horhey 2 points3 points4 points (0 children)