JDA icon indicating copy to clipboard operation
JDA copied to clipboard

Fixed permission checks when managing/deleting a thread

Open Almighty-Satan opened this issue 3 years ago • 0 comments

Pull Request Etiquette

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.

Almighty-Satan avatar Jul 22 '22 17:07 Almighty-Satan