Relative Content

Tag Archive for javadiscord-jda

How to use JDA’s setComponents() method with custom buttons?

I’m working on a Discord bot using the JDA (Java Discord API) library, and I’m trying to create an interactive message with custom buttons. However, I’m having trouble understanding how to correctly use the setComponents() method with my buttons when I have more than 5 buttons.