-
-
Notifications
You must be signed in to change notification settings - Fork 751
Show purgebanned in the feedback message of pban #1412
Copy link
Copy link
Closed
Labels
a: backendRelated to internal functionality and utilities (error_handler, logging, security, utils and core)Related to internal functionality and utilities (error_handler, logging, security, utils and core)a: moderationRelated to community moderation functionality: (moderation, defcon, verification)Related to community moderation functionality: (moderation, defcon, verification)p: 3 - lowLow PriorityLow Priorityt: enhancementChanges or improvements to existing featuresChanges or improvements to existing features
Metadata
Metadata
Assignees
Labels
a: backendRelated to internal functionality and utilities (error_handler, logging, security, utils and core)Related to internal functionality and utilities (error_handler, logging, security, utils and core)a: moderationRelated to community moderation functionality: (moderation, defcon, verification)Related to community moderation functionality: (moderation, defcon, verification)p: 3 - lowLow PriorityLow Priorityt: enhancementChanges or improvements to existing featuresChanges or improvements to existing features
Type
Fields
Give feedbackNo fields configured for issues without a type.
Current when a user is banned or purgebanned this feedback message will be sent:
It would be nice to have
purgebaninstead ofbanin the message.To achieve that, we can add a
purge: Trueentry to theinfractiondictionary inbot/bot/exts/moderation/infraction/infractions.py
Line 327 in bafa6a9
And append
purgeat the beginning ofinfr_typeifinfraction.get('purge')is Truebot/bot/exts/moderation/infraction/_scheduler.py
Line 237 in bafa6a9