diff options
| author | 2020-03-27 11:22:34 -0700 | |
|---|---|---|
| committer | 2020-03-27 11:30:27 -0700 | |
| commit | e88bb946fea8c4bc861f17772f8aca28f99be512 (patch) | |
| tree | 6b46dd9150bf8f517665e013ed825a1981da8df1 /config-default.yml | |
| parent | Merge pull request #842 from python-discord/bug/util/831/snekbox-reeval-parsing (diff) | |
Filtering: merge the word and token watch filters
The only difference was the automatic addition of word boundaries.
Otherwise, they shared a lot of code. The regex lists were kept separate
in the config to retain the convenience of word boundaries automatically
being added.
* Rename filter to `watch_regex`
* Expand spoilers for both words and tokens
* Ignore URLs for both words and tokens
Diffstat (limited to 'config-default.yml')
| -rw-r--r-- | config-default.yml | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/config-default.yml b/config-default.yml index 5788d1e12..ef0ed970f 100644 --- a/config-default.yml +++ b/config-default.yml @@ -248,9 +248,8 @@ filter:      filter_zalgo:       false      filter_invites:     true      filter_domains:     true +    watch_regex:        true      watch_rich_embeds:  true -    watch_words:        true -    watch_tokens:       true      # Notify user on filter?      # Notifications are not expected for "watchlist" type filters | 
