JDA
JDA copied to clipboard
Fixed permission checks when managing/deleting a thread
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: #2188
Description
When calling ThreadChannel#getManager or ThreadChannel#delete it is currently checked if the user has the MANAGE_CHANNEL permission, but the permission actually required to manage or delete a thread is MANAGE_THREADS.