Wissem.
Wissem.
DIAdiscord.js - Imagine an app
Created by Wissem. on 12/10/2023 in #djs-questions
DB not updating
No description
4 replies
DIAdiscord.js - Imagine an app
Created by Wissem. on 12/5/2023 in #djs-questions
Disable select menu after use - interaction.update()
const tempComponent = interaction.message.components[0];
tempComponent.components[0].disabled = true;

await interaction.update({
components: [tempComponent],
});
const tempComponent = interaction.message.components[0];
tempComponent.components[0].disabled = true;

await interaction.update({
components: [tempComponent],
});
Hello, I want to disable a select menu after use with the interaction.update() function, because it didn't work with an interaction.message.edit(). I think it's over for me :')
11 replies