18 Replies
- 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!my problem is that after closing the channel, this interaction failed appears on all select menus.
does that code run at all
if so, have you checked to see where execution stops
the code is executed, that is, it closes it, but after it, all functions like unlock ban unban limit name cease to be executed.
sounds like an issue with your interactionCreate then
one second
you can open the file that I will upload, my interactioncreate is large and uploads as a file.
oh okey
but as far as i can see you dont handle commands there
Pastebin
const { handleVoiceSelectMenu, handleVoiceModalsSubmit, handleVoice...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
which you should, you should only have 1 listener and filter based on component type
is this a suspicion or the obvious reason for this interaction failed?
well you dont handle any commands in the code you showed
Okay, I'll try, is there any documentation?
well you have some handling somewhere
considering your commands works once
the commands work fine and everything works until the moment I use lock, it kind of performs its function, but after that everything breaks and all commands stop executing, I can throw off the source code, maybe you'll find something there
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