Skip to content

Auto-close help thread if OP leaves server #480

@Zabuzard

Description

@Zabuzard

Sometimes question askers leave the server while their question is still active. This leads to helpers wasting time, not knowing that OP left already.

Hence, the bot should react to the event of people leaving the server and check if there are any question threads created by them. If so, close them (see how /close works).

Implementation-wise, challenges here are that we do not associate help-threads to authors yet. The person implementing this has to explore:

  • can we easily automatically derive the thread author? (probably not?)
  • otherwise, we should maybe setup a small database that associates thread channel IDs with author IDs (auto-evicted every week or so)

For latter, there are already similar setups for the top-helper system. Can copy pasta some stuff.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestpriority: normalvalidThis issue/PR is validated and ready to be picked. This auto adds items to TJ project board.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions