version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
Just loop through the array and set every button or whatever components you have to disabled. I dont entirely know wheter .setDisabled will work outside of builders but you can also use <component>.data.disabled = true