Step by Step Collector

Hey guys hope u are all doing well , so here is my problem. What im trying to achieve is an step by step process that collects data from users , so when first step is done , it goes to next step , and so on. Im trying to achieve it by using collectors , how do i use them? , i thought that i can use nested collectors ( when i stop the step one collector i make another collector right there so it all goes nested. ). it works somehow. but here is the problem. here is my code => https://pastecode.io/s/bb7k7uj5 What happens is , it goes on till it gets to the title process i get the embed that asks me for Title , but when i respond with a message ( normal message ) nothing happens , as if my collector never gets active. and after 60 seconds my session gets expired ( as expected ). my Best guess is it has smth to do with my collector filter/settings?
2 Replies
d.js toolkit
d.js toolkit2mo ago
- 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 staff
Kermit
KermitOP2mo ago
so , its my first time using dmChannel , tryna undrestand how it works. so if i make a collector in dm channel i can use normal collectors ( not nested ) , and it work step by step? like first one happens and then the next?. but for other situations which are out of dmChannel i can use nested right? ill check my directmessage intent Gotcha , thanks for the reply. also it was the DirectMessagess intent. thanks

Did you find this page helpful?