Closed zuuring closed 4 months ago
@Shadowfiend This has got now the ability to move channel into an archive-channels
category. Now we have to decide how we want to handle the usability of this to unarchive, since in-order to do that we need to store channel category history. Or alternatively, run via command /unarchive <category-name>
specify where the unarchived channel should live in.
@Shadowfiend Resurfacing this one since it seems like there is a need atm for saving a transcript easily of channels to be archived. We could alternatively also branch this transcript out into it's own command, something like /save-transcript
.
@Shadowfiend We should be good now! I added two new definitions for defense channel categories defenseCategoryName
and defenseArchiveCategoryName
we can change when needed. Now those commands are restricted to only run in those specific categories.
Notes
This adds two new commands:
/archive-channel
and/unarchive-channel
to be used for starting only in defense channels. This will move the channel into a new category "archived channels" and lock it intoViewMessages: true
mode for the groups that have access to it already. The channel can be unarchived by running/unarchive-channel
and that will then move the channel back to the defense categorySaving a transcript
In addition to moving/locking the channel to
archived-channels
, we also save a transcript of all the messages in the channel, outputted as a temp .txt file. File is deleted after being added to discord file-attachments.Future ideas
project-channelname
style routing. Something to discuss