-
-
Notifications
You must be signed in to change notification settings - Fork 101
Description
This is a suggestion from the server.
Motivation
Sometimes, helpers try to improve the question quality by having a bit of discussion and back and forth, but dont attempt to actually answer the question.
After the question is in a good shape, so many messages have been posted that the bot thinks that the thread is fine and marks it 🟦 (seems fine). This is a problem however, since OP didnt actually receive any help yet.
Or sometimes helpers loop out and the issue isnt solved yet.
Solution
We could add a special command /reset-help-activity
(name to be decided) that tells the bot to forget about all messages before "now" for this thread. So that it naturally falls back to 🔻, thinking that nobody wrote a message yet.
Technically, this probably can be implemented elegantly via the retrieveMessageHistory method overloads. Right now, it just retrieves the whole history from the beginning, but this can be changed to only retrieve after a certain message ID or timestamp.
This message ID or timestamp can be remembered in the existing help thread metadata database. (or simply in a in-memory map, if thats too difficult otherwise)