I want to make my Button label interactive but somehow it doesnt change when the variable changes:
const el = {power:"on"};
const bt = new Button({get label(){
return el.power
},...}) //Button extends ButtonBuilder
el.power = "off";
await interaction.reply({components: toComponents( bt) })
I am sure its because the props are not directly linked to Buttonbuilder.data but just set once when initating the class right? Is there some way to fix that?