You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we /quarantine a user, they get restricted to a single channel (the quarantine channel). In that channel they can talk to a mod who can then /unquarantine them again.
Quarantine is solely meant against bots/scammers. And in nearly all cases they are not humans. To reduce the load from mods, the bot could offer the quarantined user a self-service for unquarantining themselfs by simply clicking a button.
Therefore, the bot would (when someone gets /quarantined) post a message in the quarantine channel, pinging the user and offering an "Unquarantine me" button. If the user clicks that, the bot /unquarantines them automatically.
However, the bot should only do that if the user was not quarantined in the past already. This can be checked through the ModerationActionsStore#getActionsByTargetAscending and then .filter on the type.
(once we have this in place, we could potentially also re-enable the honey-pot channel in the config on PROD)
Activity