Closed DavidCavallaro closed 3 years ago
Thank you David. Also, another feature to add: roles that are higher than the user's highest role should be disabled (it currently should just give an error on the server). I'll look into this soon.
That was implied! good job! I will continue the hunt :)
Deployed a new update to test and fix role management. It ensures that role managers can edit their own role or lower roles, unless they are the owner - then they can edit anything.
Let me know if you still see this bug.
Here! The function you described works correctly but wouldn't it be better and safer to block the modification of your role and only keep the possibility to make changes to the underlying roles?
I was thinking of that but for some reason I forgot how Discord worked and thought that's how they did it. I guess I was thinking: Do what Discord did first, and logic second.
Added a similar feature for member management with backend validation.
Describe the bug It is not possible to create or modify roles despite having the "MANAGE_ROLES" permission.
To Reproduce Steps to reproduce the behavior:
Expected behavior With this permission it should be possible to edit or add roles to the guild.
Screenshots
Desktop (please complete the following information):