BoxWithout
BoxWithout
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by BoxWithout on 1/25/2025 in #djs-questions
My collector isn't triggering, but is being created. There are no errors in console.
Hello everyone. I have a slash command script that allows people to host giveaways in a local boardgame club I am a part of. In my script I have two button interaction collectors. The first one to trigger is to confirm that the person has read the rules that show up on an embed. This collector works great. The second collector that triggers is for when someone inputs a date that does not follow the regex in the script to error check before sending the message. This collector gets created properly (I think) but does not see any button presses, and I am not sure why. The collector I am having issues with is created on line 28. My script: https://pastebin.com/J84GRdH8 There are no errors, no stack traces, and no promise rejections. I am running 14.17.3 D.js and node 20.11.1.
24 replies
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
AAdmincraft
Created by BoxWithout on 7/4/2023 in #questions
Mobs hitting through block corners
No description
9 replies