Stydfast
Stydfast
DIdiscord.js - Imagine ❄
Created by Stydfast on 12/17/2024 in #djs-questions
Best way to chain select menus
DiscordJS version : 14.15.3 NodeJS version : 20.15.1 Hello guys ! Context : I need to create a command that will ask the user a few questions via the stringSelectMenu component (like a form). Each menus options depend of previous menu answer and some database requests. After the last question, i'll save answers into the database. I tried several approach : * Dedicated menu and customId handler, with external data to save each answer. * Messages component collector to handle all menus but face off some interactions issues * Update reply at each step or create new message to display each component Question : Before taking more time to solve the problem and get it up and running. I would like to know what is the best approach or practice to meet this need ?
3 replies