hypherionmc / hypherionmc/sdlink
Message Filtering: "USERNAME" target not working
- Dominant language
- Java
- Stars
- 38
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
Hey, I'm not sure whether I'm misunderstanding how this option is supposed to work (ignoring messages/events from a specific username?) or if it's maybe bugged.
I used the online config editor and tried a variety of different options (including "CONTAINS" instead) but none of the messages/events were ignored when the type is set to "USERNAME". It works fine with the "CHAT" type for filtering based on message content.
```
#Configure message/username filtering for discord messages
[filtering]
#Enable the filter system
enabled = true
#Ignore messages sent from certain threads. Enable debug logging to see what thread the message is from
ignoredThreads = []
#List of entries to process
[[filtering.entries]]
search = "aelobin"
target = "USERNAME"
replace = ""
searchMode = "MATCHES"
action = "IGNORE"
appliesTo = "DISCORD"
ignoreConsole = false
```
Using v3.3.2 on 1.20.1
Thanks
Contributor guide
Assessment
This issue has not been assessed yet.