Skip to content

Add command to reset activity for a help thread #567

Closed

Description

@Zabuzard

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)

Activity

  1. added
    new command
    on Sep 8, 2022
  2. github-actions commented on Oct 9, 2022

    @github-actions

    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.

  3. added
    valid
    and removed on Oct 9, 2022
  4. WariX000 commented on Oct 12, 2022

    @WariX000

    Hello, i would like to be assigned for this issue. :) Can I?

  5. marko-radosavljevic commented on Oct 12, 2022

    @marko-radosavljevic
    Contributor

    Of course, welcome to the project! ☺️ ❤️

  6. Zabuzard commented on Nov 14, 2022

    @Zabuzard
    MemberAuthor

    @WariX000 whats ur progress on this? otherwise someone else will take over

  7. WariX000 commented on Nov 15, 2022

    @WariX000

    I've sent response via mail

  8. Zabuzard commented on Dec 8, 2022

    @Zabuzard
    MemberAuthor

    No activity since 2 months, gonna unassigned u for the time being 😮

  9. CodePawfect commented on Dec 27, 2022

    @CodePawfect
    Contributor

    I can implement the ticket as soon as you assign me to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

hacktoberfesthelp wantednew commandpriority: majorvalid

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions