Disabling button received from Button Interaction Handler
Is it possible to disable button interaction received via interaction handler?
Something like -
interaction.buttonComponent.disable()
Or do I have to recreate the same button & use interaction.update()
?1 Reply
You have to recreate the button via ButtonBuilder.from and use interaction.update to edit the message and specify components to change the components including the button you want to disable