-
-
Notifications
You must be signed in to change notification settings - Fork 101
Description
Problem
This is somewhat urgent. Due to a technical limitation, our helper-role system breaks once a helper role has more than 100 users (usually the JAVA helper role).
It fails silently, probably an issue on Discord-end, not on ours. Anyways, we need to mitigate this problem until a proper solution has been found.
Solution
A way to do this is to automatically prune users from the role who have not posted messages for some time.
For a good UX, we should also attempt to DM the user in order to inform them what has happened. Such as
You seem to have been inactive for X, hence we removed you from the Y helper role. If that was a mistake, just head back to #active_questions and select the role again. Sorry for any inconvenience caused by this.
Also, this should only activate for roles that are actually approaching the 100-limit (so maybe as soon as they go beyond 90). So maybe create a Routine
that runs every hour, checking the member count of all helper roles (get via Config
), and if beyond 90, start pruning it.