JDA
JDA copied to clipboard
Check for not blank strings instead of not empty
Pull Request Etiquette
- [X] I have checked the PRs for upcoming features/bug fixes.
- [X] I have read the contributing guidelines.
Changes
- [X] Internal code
- [ ] Library interface (affecting end-user code)
- [X] Documentation
- [ ] Other: _____
Closes Issue: NaN
Description
So users can't pass blank IDs/URLs/labels as valid ones.
Passing blank strings for button labels seems to be allowed. I tried passing ZERO_WIDTH_SPACE as button label and it works perfectly fine
Whats the point of having a ZWSP as the label
Whats the point of having a ZWSP as the label
I don't know a specific use case but it is possible so I don't see a reason to prevent it