-
-
Notifications
You must be signed in to change notification settings - Fork 751
405 when deleting infractions that fail to apply #1033
Copy link
Copy link
Open
Labels
a: APIRelated to or causes API changesRelated to or causes API changesa: moderationRelated to community moderation functionality: (moderation, defcon, verification)Related to community moderation functionality: (moderation, defcon, verification)p: 2 - normalNormal PriorityNormal Prioritys: planningDiscussing detailsDiscussing detailst: bugSomething isn't workingSomething isn't working
Metadata
Metadata
Assignees
Labels
a: APIRelated to or causes API changesRelated to or causes API changesa: moderationRelated to community moderation functionality: (moderation, defcon, verification)Related to community moderation functionality: (moderation, defcon, verification)p: 2 - normalNormal PriorityNormal Prioritys: planningDiscussing detailsDiscussing detailst: bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.
Sentry Issue: BOT-6Q
The infractions viewset doesn't support deleting infractions, but it's done here:
bot/bot/cogs/moderation/scheduler.py
Lines 173 to 180 in a1a44be
This is to delete infractions when they fail to apply on the Discord side of things. Should DELETE support be added to the API or can we re-order things to not have to later delete infractions? #986 is very relevant to this.