Archie
Archie
DIAdiscord.js - Imagine an app
Created by Archie on 8/29/2023 in #djs-questions
What's the best way to set a button to disabled?
ahh thankyou
10 replies
DIAdiscord.js - Imagine an app
Created by Archie on 8/29/2023 in #djs-questions
What's the best way to set a button to disabled?
10 replies
DIAdiscord.js - Imagine an app
Created by Archie on 8/29/2023 in #djs-questions
What's the best way to set a button to disabled?
Will this keep the customIDs in place or will I need to search by something else in the loop
10 replies
DIAdiscord.js - Imagine an app
Created by Archie on 8/29/2023 in #djs-questions
What's the best way to set a button to disabled?
so something like
const newRow = ActionRowBuilder.from(interaction.message.components[0])
const newRow = ActionRowBuilder.from(interaction.message.components[0])
then loop through newRow to check for the customID to match a value and then set to disabled?
10 replies
DIAdiscord.js - Imagine an app
Created by Archie on 8/29/2023 in #djs-questions
What's the best way to set a button to disabled?
Got you, i'll look into making a new ActionRowBuilder and go from there, thankyou
10 replies
DIAdiscord.js - Imagine an app
Created by Archie on 8/29/2023 in #djs-questions
What's the best way to set a button to disabled?
Thanks, i'll take a look into that By "if you don't have the original components still around" do you mean within the scope in code or still being active on the screen?
10 replies
DIAdiscord.js - Imagine an app
Created by Archie on 8/29/2023 in #djs-questions
What's the best way to set a button to disabled?
14.13.0 discord 16.16.0 node
10 replies