my code is not working!

7 Replies
d.js toolkit
d.js toolkit4mo 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
AgEnT0074mo ago
Anybody help
NyR
NyR4mo ago
#how-to-get-help what is not working? send errors if any,
AgEnT007
AgEnT0074mo 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
NyR4mo 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 docs4mo 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
AgEnT0074mo ago
Thank you