Xehny
Xehny
DIAdiscord.js - Imagine an app
Created by Xehny on 11/25/2023 in #djs-questions
How to swap between 3 embeds using buttons?
I would like to swap between 3 different embeds when a button is pressed. So say embed1 is displayed, then button2 would change it to embed2 and button3 would change it to embed3. Or if embed2 is displayed, then button1 would change it to embed1 and button3 would change it to embed3. But the button for the current embed is not displayed. I'm not sure on the fundamentals of how to do this so I would really appreciate it if I could have some skeleton code on how something like this would function. Thanks very much!
16 replies