Zela
DIAdiscord.js - Imagine an app
•Created by Zela on 3/16/2024 in #djs-questions
Looping through an array getting input each iteration
when I try to click the second body
25 replies
DIAdiscord.js - Imagine an app
•Created by Zela on 3/16/2024 in #djs-questions
Looping through an array getting input each iteration
25 replies
DIAdiscord.js - Imagine an app
•Created by Zela on 3/16/2024 in #djs-questions
Looping through an array getting input each iteration
Error thrown is:
25 replies
DIAdiscord.js - Imagine an app
•Created by Zela on 3/16/2024 in #djs-questions
Looping through an array getting input each iteration
So to put things together, the current state of the code is this:
And it runs the first iteration fine, but does not even look at the second iteration
25 replies
DIAdiscord.js - Imagine an app
•Created by Zela on 3/16/2024 in #djs-questions
Looping through an array getting input each iteration
When I interact with it instantly, the second loop comes through but cannot be interacted with
but when I take a while, it doesn't come through at all
25 replies
DIAdiscord.js - Imagine an app
•Created by Zela on 3/16/2024 in #djs-questions
Looping through an array getting input each iteration
I have 0 clue how to approach that
25 replies
DIAdiscord.js - Imagine an app
•Created by Zela on 3/16/2024 in #djs-questions
Looping through an array getting input each iteration
the error seems to be because I am not deferring the message reply or update, so I cannot track it past the first loop
25 replies
DIAdiscord.js - Imagine an app
•Created by Zela on 3/16/2024 in #djs-questions
Looping through an array getting input each iteration
I put the await in front of the
response.awaitMessageComponent(...)
25 replies
DIAdiscord.js - Imagine an app
•Created by Zela on 3/16/2024 in #djs-questions
Looping through an array getting input each iteration
ok new error, it waits but when I come to second iteration it simply says this interaction failed
25 replies
DIAdiscord.js - Imagine an app
•Created by Zela on 3/16/2024 in #djs-questions
Looping through an array getting input each iteration
nor does it use await itself
25 replies
DIAdiscord.js - Imagine an app
•Created by Zela on 3/16/2024 in #djs-questions
Looping through an array getting input each iteration
following the guide on the website it doesnt say where to put await
25 replies
DIAdiscord.js - Imagine an app
•Created by Zela on 3/16/2024 in #djs-questions
Looping through an array getting input each iteration
wait where do I even use await here
25 replies
DIAdiscord.js - Imagine an app
•Created by Zela on 3/16/2024 in #djs-questions
Looping through an array getting input each iteration
I might be slow
25 replies
DIAdiscord.js - Imagine an app
•Created by Zela on 3/16/2024 in #djs-questions
Looping through an array getting input each iteration
me changing it to awaitMessageComponent has caused the same issue
25 replies
DIAdiscord.js - Imagine an app
•Created by Zela on 3/16/2024 in #djs-questions
Looping through an array getting input each iteration
so instead of
I do something like
25 replies
DIAdiscord.js - Imagine an app
•Created by Zela on 3/16/2024 in #djs-questions
Looping through an array getting input each iteration
so I use
awaitMessageComponent
in place of createMessageComponentCollector
?25 replies
DIAdiscord.js - Imagine an app
•Created by Zela on 3/16/2024 in #djs-questions
Looping through an array getting input each iteration
what does await message component do?
25 replies