aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorGravatar mbaruh <[email protected]>2022-09-29 22:11:50 +0300
committerGravatar mbaruh <[email protected]>2022-09-29 22:11:50 +0300
commitf10d3de8699ae52e656396e9fdac0f6f37f2fe47 (patch)
tree7ddd2d60046537f26594214e5f61678ca817723c /tests/helpers.py
parentMerge branch 'main' into new-filters (diff)
Filter adding commands, simplify infraction
This commit adds the mechanic to add new filters. The overrides of the settings can be provided in the command itself, but also through a UI made of Discord components. The UI adjusts itself to the data type of the setting, e.g a boolean setting will invoke a select with "True" and "False" options. This commit additionally gets rid of the mechanic to apply a superstar alongside another higher tier infraction for the same message. This is an edge case that isn't worth the complexity at the moment. Includes a small fix to the Ping setting which made the __or__ method malfunction.
Diffstat (limited to 'tests/helpers.py')
0 files changed, 0 insertions, 0 deletions