You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
, checks to make sure that someone does not already have overriding roles before applying a new set. However, because of this check, jail time cannot easily be refreshed or changed once it is set. Instead, an error like "Cannot add a new overriding role to <user> because they already have <role>" is presented.
Would it make sense to alter this check to see if the new overriding roles are the same as the old ones and, if so, allow the check to pass?
Or perhaps these functions should be merged to attempt to add the overriding roles, and fail if an override already exists and is different than the new one?
The text was updated successfully, but these errors were encountered:
futaba/futaba/cogs/moderation/core.py
Lines 107 to 119 in 6b30197
futaba/futaba/cogs/moderation/core.py
Lines 255 to 259 in 6b30197
Would it make sense to alter this check to see if the new overriding roles are the same as the old ones and, if so, allow the check to pass?
Or perhaps these functions should be merged to attempt to add the overriding roles, and fail if an override already exists and is different than the new one?
The text was updated successfully, but these errors were encountered: