discord-needle icon indicating copy to clipboard operation
discord-needle copied to clipboard

💡 Archive or delete threads automatically when users delete original message

Open MarcusOtter opened this issue 3 years ago • 2 comments

Is your request for improvement related to a problem? Please describe. From Muhymin#6005 on Discord:

Some people ask questions in the support channel and then remove the original message. Is it possible to delete the thread automatically as the user removes his original message??

Describe the solution you'd like When the parent message is deleted (by any means, banning user included):

If (the thread has no messages from anyone except for the bot AND the bot has the permissions to delete the thread): delete the thread.

If (the thread has messages OR the bot does not have permissions to delete the thread): archive the thread

Describe alternatives you've considered N/A

Additional context Perhaps this means that we don't need the code we implemented for #49, and instead we can solve #26

MarcusOtter avatar Feb 04 '22 12:02 MarcusOtter

wow I didn't see this

c43721 avatar Mar 15 '22 19:03 c43721

Some users have said they would like this to be configurable

When message deleted options:

  • Delete thread if empty, archive if not (DEFAULT)
  • Always archive
  • Always delete
  • Do nothing

MarcusOtter avatar Mar 17 '22 20:03 MarcusOtter

Fun fact: This is exactly how Discord chose to implement forums. If a user tries to delete their post, they are allowed to do so (unlike threads), but only if there are no responses from users. If there are responses, they are only allowed to delete their original message.

image

MarcusOtter avatar Aug 09 '22 22:08 MarcusOtter

Oh, glad its already suggested. It would be amazing if implemented.

mnkrome avatar Aug 13 '22 11:08 mnkrome