diff options
author | 2022-02-21 02:30:44 +0200 | |
---|---|---|
committer | 2022-07-16 01:48:07 +0300 | |
commit | 7ec96678663daed8c9aa81c2e2b65083c432e395 (patch) | |
tree | b2b4d15d65edd6e74d25c9d475cf7d7425dda84f /tests/helpers.py | |
parent | New filtering backbone and regex filtering migration (diff) |
Add listing commands
For legacy purposes, separate command groups were re-added for blacklists and whitelists.
There's a new command group for filters.
Not specifying a list type for the `filter list` command will cause the bot to try to infer whether there's only one kind of list,
for example `!filter list tokens` will pull up the blacklist since there's no whitelist.
If a required field is missing, the user will be prompted to complete it from a selection.
Some level of flexibility was added for the list type in the `filter list` command. For example, a list type can be "DENY", but it will also match "blacklist", "denylist", "deny", "denied", "blacklisted" etc.
Diffstat (limited to 'tests/helpers.py')
0 files changed, 0 insertions, 0 deletions