Disable select menu after use - interaction.update()

    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 :')
Was this page helpful?