Color-Chan.Discord
Color-Chan.Discord copied to clipboard
Empty string CustomID button returns in interaction error
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
