PurifiedWater
PurifiedWater
DIAdiscord.js - Imagine an app
Created by PurifiedWater on 11/13/2023 in #djs-questions
How to keep listening to messages from a specific channel?
It works! Thank you very much!
4 replies
DIAdiscord.js - Imagine an app
Created by PurifiedWater on 11/7/2023 in #djs-questions
Different modal IDs still trigger awaitModalSubmit multiple times
It works! Thank you!
8 replies
DIAdiscord.js - Imagine an app
Created by PurifiedWater on 11/7/2023 in #djs-questions
Different modal IDs still trigger awaitModalSubmit multiple times
I add a logger here:
...
await i.showModal(modal);
logger.debug(modal.data.custom_id);
i.awaitModalSubmit({
...
...
await i.showModal(modal);
logger.debug(modal.data.custom_id);
i.awaitModalSubmit({
...
it really gave me different modal ID: [02:12:59.485] DEBUG (36040): feedback-1171391844618358805 [02:13:03.570] DEBUG (36040): feedback-1171391861789818991 [02:13:06.095] DEBUG (36040): feedback-1171391872426582026 Do I need to change other ID?
8 replies
DIAdiscord.js - Imagine an app
Created by PurifiedWater on 11/7/2023 in #djs-questions
Different modal IDs still trigger awaitModalSubmit multiple times
I use ButtonInteraction id as modal id actually (.setCustomId(feedback-${i.id})), it's different every time but awaitModalSubmit still resolve multiple times...
8 replies
DIAdiscord.js - Imagine an app
Created by PurifiedWater on 11/7/2023 in #djs-questions
How to make a button open the modal after clicking it again?
I see! Thank you very much.
4 replies
DIAdiscord.js - Imagine an app
Created by PurifiedWater on 11/4/2023 in #djs-questions
Cannot update embed after component interaction
Oh god it's a typo
4 replies
DIAdiscord.js - Imagine an app
Created by PurifiedWater on 11/4/2023 in #djs-questions
Cannot update embed after component interaction
[email protected] and v20.9.0 for node
4 replies