FluxFlu
DIAdiscord.js - Imagine an app
•Created by FluxFlu on 12/29/2024 in #djs-questions
Issues with awaitMessageComponent
thank you so much for the help
25 replies
DIAdiscord.js - Imagine an app
•Created by FluxFlu on 12/29/2024 in #djs-questions
Issues with awaitMessageComponent
that fixed it x.x
25 replies
DIAdiscord.js - Imagine an app
•Created by FluxFlu on 12/29/2024 in #djs-questions
Issues with awaitMessageComponent
yes
25 replies
DIAdiscord.js - Imagine an app
•Created by FluxFlu on 12/29/2024 in #djs-questions
Issues with awaitMessageComponent
if i don't use
fetchReply: true
at all, then the second button input (post PlayerFighter.show()
) simply hangs, and the code await this.response.awaitMessageComponent({ filter: e => e.user.id === this.id, time: 180_000 });
never finishes running25 replies
DIAdiscord.js - Imagine an app
•Created by FluxFlu on 12/29/2024 in #djs-questions
Issues with awaitMessageComponent
if i don't make that one
fetchReply: true
and only have this one in PlayerFighter.show()
be fetchReply: true
, then the same error is thrown at the same line of code, except that the first one works perfectly fine without needing fetchReply: true
, so it only errors once the second button input is performed25 replies
DIAdiscord.js - Imagine an app
•Created by FluxFlu on 12/29/2024 in #djs-questions
Issues with awaitMessageComponent
when i make the reply here have
fetchReply: true
then the code this.response.edit({ components: [] });
in PlayerFighter.pickAbility()
throws the error DiscordAPIError[10008]: Unknown Message
25 replies
DIAdiscord.js - Imagine an app
•Created by FluxFlu on 12/29/2024 in #djs-questions
Issues with awaitMessageComponent
shoulds be most of what's relevant
25 replies
DIAdiscord.js - Imagine an app
•Created by FluxFlu on 12/29/2024 in #djs-questions
Issues with awaitMessageComponent
i can send my code
25 replies
DIAdiscord.js - Imagine an app
•Created by FluxFlu on 12/29/2024 in #djs-questions
Issues with awaitMessageComponent
strangely adding
fetchReply
to the initial reply actually breaks that one too25 replies
DIAdiscord.js - Imagine an app
•Created by FluxFlu on 12/29/2024 in #djs-questions
Issues with awaitMessageComponent
do you think there is a way to make that happen after all
25 replies
DIAdiscord.js - Imagine an app
•Created by FluxFlu on 12/29/2024 in #djs-questions
Issues with awaitMessageComponent
i had specifically done it this way to try and avoid the "10008: Unknown Message" error
25 replies
DIAdiscord.js - Imagine an app
•Created by FluxFlu on 12/29/2024 in #djs-questions
Issues with awaitMessageComponent
ahh that works but it breaks on ephemeral messages
25 replies
DIAdiscord.js - Imagine an app
•Created by FluxFlu on 12/29/2024 in #djs-questions
Issues with awaitMessageComponent
discord.js version
14.16.3
node version 22.12.0
25 replies