BoxWithout
DIAdiscord.js - Imagine an app
•Created by BoxWithout on 2/21/2024 in #djs-questions
Help collecting a button component
Hey guys, I have been struggling trying to collect a button response. I am following the "component collectors" portion of the tutorial: https://discordjs.guide/message-components/interactions.html#component-collectors
For whatever reason my collector isn't triggering when I press any of the buttons. Here are the relevant portions of code:
https://pastebin.com/dsUgMDM0
There are no errors in console, nor does the bot crash. Through some console.log trial and error I have determined that the process functions properly all the way up to ln.23 -> collector.on().
28 replies