aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/api/models/utils.py
diff options
context:
space:
mode:
authorGravatar mbaruh <[email protected]>2021-12-25 20:18:02 +0200
committerGravatar mbaruh <[email protected]>2021-12-25 20:18:02 +0200
commitc082ad818608fd52238e61f9c69d99cfb2aa503b (patch)
tree47cd3edcd407ecd70b2e1935ba4fac53077e46ca /pydis_site/apps/api/models/utils.py
parentCorrect 'Redirect' FilterLists' default values. (diff)
Merged infraction and notification settings in JSON
The settings for infracting and notifying the user were merged under one field, which is renamed to "infraction_and_notification". The only place which sends a message in the server by default is the antimalware, the rest try to DM the user first, and antimalware can do the same. This avoids complications which may result from the filtering cog trying to send two messages: one for the defined server message, and another for a failed DM.
Diffstat (limited to 'pydis_site/apps/api/models/utils.py')
0 files changed, 0 insertions, 0 deletions