san*~
DIAdiscord.js - Imagine a bot
•Created by san*~ on 7/11/2024 in #djs-questions
Interaction keeps failing..
it finally worked!!! thank you so much guys! and sorry if I came across as rude or impatient!<3
31 replies
DIAdiscord.js - Imagine a bot
•Created by san*~ on 7/11/2024 in #djs-questions
Interaction keeps failing..
it said interaction.update was not a function so i used interaction.editReply like you said
but then as soon as i ran my command i got this-
'''Error [InteractionAlreadyReplied]: The reply to this interaction has already been sent or deferred.
at ChatInputCommandInteraction.reply (D:\NODEJS\discord-bot\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:104:46)
at Object.run (D:\NODEJS\discord-bot\src\commands\Misc\rockpaperscis\rock-paper.js:59:39)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Client.<anonymous> (D:\NODEJS\discord-bot\node_modules\commandkit\dist\index.js:643:7) {
code: 'InteractionAlreadyReplied''''
31 replies
DIAdiscord.js - Imagine a bot
•Created by san*~ on 7/11/2024 in #djs-questions
Interaction keeps failing..
31 replies
DIAdiscord.js - Imagine a bot
•Created by san*~ on 7/11/2024 in #djs-questions
Interaction keeps failing..
oh so wherever I am using reply.edit, should i use interaction.update instead?
And the awaitmessagecomponent also remains the same?
31 replies
DIAdiscord.js - Imagine a bot
•Created by san*~ on 7/11/2024 in #djs-questions
Interaction keeps failing..
okay , i use the slash command , i add the user i want to play with, and the number of rounds.
I send the command in the channel, after that whenever me or that other person tries to click on one of the three buttons
the interaction loads for sometime then fails
31 replies
DIAdiscord.js - Imagine a bot
•Created by san*~ on 7/11/2024 in #djs-questions
Interaction keeps failing..
Here
31 replies
DIAdiscord.js - Imagine a bot
•Created by san*~ on 7/11/2024 in #djs-questions
Interaction keeps failing..
31 replies
DIAdiscord.js - Imagine a bot
•Created by san*~ on 7/11/2024 in #djs-questions
Interaction keeps failing..
31 replies
DIAdiscord.js - Imagine a bot
•Created by san*~ on 7/11/2024 in #djs-questions
Interaction keeps failing..
I also sent my code above
31 replies
DIAdiscord.js - Imagine a bot
•Created by san*~ on 7/11/2024 in #djs-questions
Interaction keeps failing..
31 replies
DIAdiscord.js - Imagine a bot
•Created by san*~ on 7/11/2024 in #djs-questions
Interaction keeps failing..
''Message edited from to sany1989 won this round! :P
Current Score :
sany1989 : 1
<@1192361697290240070> : 0
Message edited from to''
It edits the message but then it also displays that interaction has failed at the same time
31 replies
DIAdiscord.js - Imagine a bot
•Created by san*~ on 7/11/2024 in #djs-questions
Interaction keeps failing..
Just needed guidance on if I am using the editReplies, interaction replies wrongly
31 replies
DIAdiscord.js - Imagine a bot
•Created by san*~ on 7/11/2024 in #djs-questions
Interaction keeps failing..
see I added a for loop for game to continue for given amount of rounds but it finishes in 1 round, plus there is an issue with the way I am handling interactions
31 replies
DIAdiscord.js - Imagine a bot
•Created by san*~ on 7/11/2024 in #djs-questions
Interaction keeps failing..
this is my code!
31 replies
DIAdiscord.js - Imagine a bot
•Created by san*~ on 7/11/2024 in #djs-questions
Interaction keeps failing..
31 replies