Add command to reset activity for a help thread
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)
This issue is stale because it has been open 30 days with no activity. Remove stale label, comment or add the valid label or this will be closed in 5 days.
Hello, i would like to be assigned for this issue. :) Can I?
Of course, welcome to the project! :relaxed: :heart:
@WariX000 whats ur progress on this? otherwise someone else will take over
I've sent response via mail
No activity since 2 months, gonna unassigned u for the time being 😮
I can implement the ticket as soon as you assign me to it.