Buttons in DMs not triggering interactionCreate

can bots not listen to buttons sent in dms? other interactions on server is working fine and i've doublechecked basically everything id, if the event is working or not, all the return statements, everything i've ruled out the only difference between the working once and the not working one is that the non working one is sent in dms
3 Replies
d.js toolkit
d.js toolkit8mo 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
mallusrgreat
mallusrgreat8mo ago
here is my previous message which i guess wasn't seen https://pastes.dev/vs3YmPpH0G
const doneBtn = new ButtonBuilder()
.setCustomId("partner-prompt-done")
.setLabel("Done!")
.setStyle(ButtonStyle.Success);
const doneBtn = new ButtonBuilder()
.setCustomId("partner-prompt-done")
.setLabel("Done!")
.setStyle(ButtonStyle.Success);
I have a listener for a lot of buttons, and i'm listening for this button made in line 470. When I try to listen to it in line 498, it doesn't even run. "checkpoint" log in 497 isn't working, "checkpoint 2" log in 499 also isn't working. All other buttons upto this point are working.
pastes | vs3YmPpH0G
A paste containing 687 lines of typescript.
mallusrgreat
mallusrgreat8mo ago
it's quite a large file since i do basically all my stuff with interactionCreate there oh im dumb