You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 20, 2026. It is now read-only.
To prevent cluttering of the discord server we need to purge anything that is not being used in a given amount of time (NOT_USED_IN_WEEKS)
Given a course/category if any channel contains activity within the reference time -- it will not be deleted
Otherwise, the following will happen
For each text-channel within the category we need to grab the last NUMBER_OF_MESSAGES. Then we need to save each message into the database - noting the channel name, message, author, and time of message
For each channel in the category we need to grab the channel name, and parent channel name
The algorithm should be invoked by either a cronjob, or slash command, or both.
We need the following configuration values. This section can be named something along the lines of
ARCHIVE
To prevent cluttering of the discord server we need to purge anything that is not being used in a given amount of time (NOT_USED_IN_WEEKS)
Given a course/category if any channel contains activity within the reference time -- it will not be deleted
Otherwise, the following will happen
The algorithm should be invoked by either a cronjob, or slash command, or both.
We need the following configuration values. This section can be named something along the lines of
ARCHIVE