mjolnir icon indicating copy to clipboard operation
mjolnir copied to clipboard

Don't attempt to ban/kick Admins (or people with the same or above powerlevel than the bot)

Open ghost opened this issue 3 years ago • 1 comments

Mjolnir currently tries to ban or kick Admins or people with the same PL as the bot, this results in an error and some spam in the coordination room, therefore, I believe that mjolnir should first check if it's capable of banning/kicking the user or not instead of just trying without any checks.

This also happens on other circumstances, when mjolnir tries setting a room ACL when it can't because it doesn't have enough permission.

This could be split into another issue called (Mjolnir should check if it can perform an action before commiting to it).

ghost avatar Oct 29 '22 17:10 ghost

Related: #115 #240

bkil avatar Oct 29 '22 21:10 bkil