Turns out this is likely to show up in some cases, so let's sanitize it a little.

This commit is contained in:
Ben Rog-Wilhelm 2023-04-08 15:27:36 -05:00
parent d51aade61f
commit 171bc2d8de

View file

@ -148,7 +148,7 @@ class ModerationState:
msg = f'Removed by @{self.removed_by_name}'
return False, msg
if self.filtered and not can_moderate:
return False, 'Filtered, please go kick a mod in the ass to fix this'
return False, 'Filtered'
if self.deleted and not can_moderate:
return False, 'Deleted by author'
if is_blocking: