Interaction Failed Async
Hello!
i have no clue how to await an interaction in V14, but after trying, the code that is attached is what i came with.
however, it's simply not updating the interaction, nor is it printing my console logs which is causing me so much confusion
anyone that could point me to the right direction (no docs please, I've already read it like 4 times, and i'm understanding less the more I read it)
15 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.`-- [email protected] v18.12.1for the curious oh also! i recently updated from V13 to V14, but i don't see anything V13 related, so, uh, correct me when wrong
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
it should 🤔
maybe i should log that aswell if it actually emits or not
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
If you are waiting for button or select menu input from a specific message, don't create the collector on the channel.
- Channel collectors return component interactions for any component within that channel.
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Changed the following, seems its indeed not emitting
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
oh my god, i just realized that i named the previous and next instead of the dumb custom names i gave them
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
yeeees, it works!
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
eventhough it was a silly mistake, i did genuinely learn alot from this, thank you <a:CB_dance_cat:430423973554159629><a:1279_Flying_Hearts_Red:975427205536567316>
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View