Deeval
DIAdiscord.js - Imagine an app
•Created by Deeval on 11/9/2023 in #djs-questions
code not working anymore, giving interaction failed
Hello, I hope someone can help me.
I have developed a verification bot challenging myself and building something totally customized, basically once a user starts the verification, the bot sends an ephemeral embed with a picture and a dropdown menu (with 5 choices) and the user must answer before the time elapsed or will get a failure attempt, if a total o 3 failures (due to the timeout or wrong answer or a mix of both) will be reached then the user is kicked, otherwise if the user answer correctly then the "not-verified" role will be removed and a "verified" role will be assigned; plus, the same user can't start more than once a verification, if he/she try a message will appear.
The bot has been developed at the beginning of this year and officially deployed at the beginning of March but during this last period (don't know exactly from when) I discovered that isn't working anymore and whenever a user select any answer (doesn't matter if it's the correct one or the wrong ones), after few seconds the red text "this interaction failed" on Discord appears even tho before, as I already said, was working like a charm.
9 replies