AceBot icon indicating copy to clipboard operation
AceBot copied to clipboard

[Request] Make help channels auto-close when the initial message gets deleted

Open Micha-ohne-el opened this issue 3 years ago • 2 comments

Title says it all. It happens from time to time that somebody opens a help channel (usually they trigger the ‘anti-cheat’ message) and then just decide to delete their message (or maybe Staff does). In this case the channel just lingers around for 30 minutes. If it's not too big of a deal, I would like to see it close automatically in this case. I guess there would have to be a check that there are no other non-bot messages in the channel. Not sure. That's all!

Micha-ohne-el avatar May 04 '21 16:05 Micha-ohne-el

I'm thinking a good implementation for this would be if the first message is deleted and there is not a second message then wait 2 minutes before closing.

I don't see a need to detect if both the first and second messages are deleted, however. That happens very rarely from what I can tell.

onerandomusername avatar May 04 '21 16:05 onerandomusername

My thought was that Ace already keeps track of channels that are ‘new’ (they get the :exclamation: emoji added). So it should be pretty simple to only apply this rule to help channels which are still considered ‘new’.

But yeah, simply reducing the time it takes to close would probably a good idea instead of outright closing it immediately, in case the author just wanted to rephrase or correct what they said and didn't choose to use the edit function. Or maybe they wanted to attach an image (can't be done through editing).

Micha-ohne-el avatar May 04 '21 18:05 Micha-ohne-el

Obsolete because of moving to help forums.

Run1e avatar Dec 25 '22 20:12 Run1e