-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Description
bot.py#update_perms is currently broken and only inserts into command_permissions
even when it should write into level_permissions
causing all existing command_permissions
overrides in the database being completely overwritten every time you add or remove a new level permission.
Cause:
https://github.com/kyb3r/modmail/blob/802e74040797c9c64b285d50c4267625b4a5b82e/bot.py#L992
due to this the below following
https://github.com/kyb3r/modmail/blob/802e74040797c9c64b285d50c4267625b4a5b82e/bot.py#L1006
is always false.
StephenDaDev
Metadata
Metadata
Assignees
Labels
No labels