Kayo
Kayo
DIAdiscord.js - Imagine an app
Created by Kayo on 9/16/2024 in #djs-questions
Discordjs package Check permission
No description
6 replies
DIAdiscord.js - Imagine an app
Created by Kayo on 6/23/2023 in #djs-questions
Where are the collectors?
@Jô 🌈 🦄 Do you know if it's a problem to run an instance of discord.js, next to the core, builder just for that?
7 replies
DIAdiscord.js - Imagine an app
Created by Kayo on 6/23/2023 in #djs-questions
How to update the interaction message?
I solved it by changing the interaction.id that is required in the reply, but in the editReply or followUp you have to pass the applicationID as requested by the documentation. I hadn't seen that dogeHaHa .
await api.interactions.defer(interaction.id, interaction.token, {
flags: MessageFlags.Ephemeral,
});
await wait.setTimeout(4000);
await api.interactions.editReply(
interaction.application_id,
interaction.token,
{
content: 'Hello World',
},
);
await api.interactions.defer(interaction.id, interaction.token, {
flags: MessageFlags.Ephemeral,
});
await wait.setTimeout(4000);
await api.interactions.editReply(
interaction.application_id,
interaction.token,
{
content: 'Hello World',
},
);
8 replies
DIAdiscord.js - Imagine an app
Created by Kayo on 6/23/2023 in #djs-questions
How to update the interaction message?
8 replies
DIAdiscord.js - Imagine an app
Created by Kayo on 6/23/2023 in #djs-questions
How to update the interaction message?
Without defer it works but not with him... Can you tell me what would be the correct operation, because I didn't find deferReply anymore.
8 replies
DIAdiscord.js - Imagine an app
Created by Kayo on 6/23/2023 in #djs-questions
How to update the interaction message?
8 replies