Deeval
Deeval
DIAdiscord.js - Imagine an app
Created by Deeval on 11/9/2023 in #djs-questions
code not working anymore, giving interaction failed
tank you very much 🙂, this can be marked as solved
9 replies
DIAdiscord.js - Imagine an app
Created by Deeval on 11/9/2023 in #djs-questions
code not working anymore, giving interaction failed
yep, it seems working again now
9 replies
DIAdiscord.js - Imagine an app
Created by Deeval on 11/9/2023 in #djs-questions
code not working anymore, giving interaction failed
ok, I just found the answer on the discord.js guide website 😅
9 replies
DIAdiscord.js - Imagine an app
Created by Deeval on 11/9/2023 in #djs-questions
code not working anymore, giving interaction failed
so how exactly do I have to apply the fetchReply:true ? do I have to put it inside the interaction.update?
9 replies
DIAdiscord.js - Imagine an app
Created by Deeval on 11/9/2023 in #djs-questions
code not working anymore, giving interaction failed
I tried to use a try-catch block (the try has been inserted immediately afterward the async execute(interaction, client) string) to see if about any error was detected, but nothing appeared on the console. I did also some other tests inserting some console.logs here and there and it seems for some reason the bot is "unable" to processing the task inside the collector.on('collect', async (i) (I just put a console.log afterward and doesn't show up on the console); to verify my theory I also tried to move the verificationMap.set(interaction.user.id, true); inside the collector between line 102 and 103 and if I try to start another verification during an already ongoing verification, instead to have a response according to line 78 (meaning a test is already running) it simply starts another verification having a total of 2 embeds with a dropdown menu each one. The strange thing is that everything works with collector.on('end', because I receive the message with the timeout. So just to recap: it seems like there is something weird with the collector but I don't understand what it could be and any kind of help will be highly appreciate. This is the code of my verification bot: https://pastebin.com/WaZcFVaP
9 replies