The_DayStar
DIAdiscord.js - Imagine an app
•Created by The_DayStar on 8/31/2023 in #djs-questions
createMessageComponentCollector on a followUp is causing all sorts of inexplicable errors
So I don't really know how else to explain it. First and foremost, here is my code:
https://pastebin.com/ezhdgMvT
Now onto the explanation:
In that command I pasted above, when I run it, if certain conditions are met (
countCheck.Character2
not being null, plus the switch case being either ab
or arch
), it requires me to use two string menus (one when the user first runs the command, and another after the user picks an option from the 1st string menu), but upon picking the option from the 2nd string menu, the bot simply crashes, and the error is the most unhelpful of all time as it actually seems to be random, even going as far as presenting the error (sometimes) on an unrelated command that works fine on its own and causes no issues whatsoever.31 replies