my code is not working!

7 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 OP
AgEnT007
AgEnT0072mo ago
Anybody help
NyR
NyR2mo ago
#how-to-get-help what is not working? send errors if any,
AgEnT007
AgEnT0072mo ago
The error is not showing on my console when I call this command it did not taking the channel and role from the text message
NyR
NyR2mo ago
also you should be using RoleSelectMenuBuilder instead of StringSelectMenu you use for roles, that is exactly why role select exists, also its better if you use UserSelectMenu and ChannelSelectMenu for getting the users and channels, way better then follow my advice, use select menus for that
d.js docs
d.js docs2mo ago
If you aren't getting any errors, try to place console.log checkpoints throughout your code to find out where execution stops. - Once you do, log relevant values and if-conditions - More sophisticated debugging methods are breakpoints and runtime inspections: learn more
AgEnT007
AgEnT0072mo ago
Thank you