Skip to content

Commit

Permalink
Filter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
greeeen-dev committed Mar 1, 2025
1 parent ba7fe6b commit 3181a05
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion filters/massping.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ def __init__(self):

def check(self, message, data) -> FilterResult:
return FilterResult(
'@everyone' in message['content'] or '@here' in message['content'], data,
not ('@everyone' in message['content'] or '@here' in message['content']), data,
message='Mass pings are not allowed.', should_log=True, should_contribute=True
)
6 changes: 3 additions & 3 deletions plugins/system.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"id": "system",
"name": "System extensions",
"description": "Unifier system extensions",
"version": "v3.9.3",
"release": 147,
"reboot": 145,
"version": "v3.9.4",
"release": 148,
"reboot": 147,
"minimum": 0,
"shutdown": false,
"modules": [
Expand Down
4 changes: 4 additions & 0 deletions release-notes/v3.9.4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Massping filter was acting up. Sorry!

## 🔧 Bug fixes and other improvements
- Fixed massping filter filtering everything but what it was meant to block (whoops)

0 comments on commit 3181a05

Please sign in to comment.