isnt is the opposite of is, which is the triple equals sign. Just negate the in:
if err and user not in moderators
return
or, using postfix if:
return if err and user not in moderators
isnt is the opposite of is, which is the triple equals sign. Just negate the in:
if err and user not in moderators
return
or, using postfix if:
return if err and user not in moderators