cardinalitypuzzles / cardboard

Dashboard for managing puzzles and tracking status during a puzzle hunt
MIT License
31 stars 21 forks source link

Reconsider deleting chat channels when deleting a puzzle #548

Open rgossiaux opened 2 years ago

rgossiaux commented 2 years ago

It's nice that it cleans up after itself in the case of accidents, but on the other hand if someone makes a mistake it could be frustrating if the chat channel is dead. Maybe we should save the transcript, or only archive the chat channel if it has (non-bot) messages, or something.

rgossiaux commented 2 years ago

@rawxfish added some code in here we could use to detect if there has been activity in the channel: #557

Could maybe only delete the text channel if it has no messages using that code, otherwise archive it.