Open BrammyS opened 9 months ago
Describe the bug It's possible to add a component button with an empty string for the customId.
To Reproduce Steps to reproduce the behavior:
responseBuilder.WithComponent( new ActionRowComponentBuilder() .WithButton( "Previous", DiscordButtonStyle.Primary, "" ) .Build() );
Simply send that response back and youll get the same error.
Expected behavior it should throw an error explaining that you need a URL or CustomID for a button.
Screenshots
Describe the bug It's possible to add a component button with an empty string for the customId.
To Reproduce Steps to reproduce the behavior:
Simply send that response back and youll get the same error.
Expected behavior it should throw an error explaining that you need a URL or CustomID for a button.
Screenshots![](https://cdn.brammys.com/2023/10/qn0wlHWtJnvfdsLRcxk2d5pXLICPvgqj3PbWIccw2QUhMocC4suOoCn2XSXreh3p.png)