JDA
JDA copied to clipboard
Check for empty token in AuthorizationConfig, instead of JDAImpl
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)
- [ ] Documentation
- [ ] Other: _____
Closes Issue: NaN
Description
JDAImpl was doing unnecessary checks and could had been implemented where the token comes from, so, AuthorizationConfig, the PR moves the notEmpty check there