In a nutshell, discord bot to register channels, and periodically delete messages older than x (configurable) days on them
with the optional capability to archive deleted message for up to x (configurable) days in case a useful message is delete
[ ] docker-compose to run postgres db
[ ] db connection + setup on postgres with seaorm
[ ] discord connection with poise (ping command)
[ ] ping command
[ ] moldy table -> id, guild_id, server_id, message_ttl (usize in days), enabled (bool) (+later admin things -> created_by, created_at)
[ ] /devour #channel <ttl> command to setup message periodic deletion on a chanel
[ ] /nodevour #channel to pause
[ ] setup parallel tokio task that periodically checks for old messages in registered channels, delete them if any
[ ] add -> archive db table to remember messages (guild_id,channel_id,content,author) for a time (opt in)
[ ] /devoured <since> <up_to> -> list timestamp / owner / short text of some messages
[ ] /regurgitate (<id>)|(<since>/<up_to>) (or maybe two commands)
In a nutshell, discord bot to register channels, and periodically delete messages older than x (configurable) days on them with the optional capability to archive deleted message for up to x (configurable) days in case a useful message is delete
moldy
table -> id, guild_id, server_id, message_ttl (usize in days), enabled (bool) (+later admin things -> created_by, created_at)/devour #channel <ttl>
command to setup message periodic deletion on a chanel/nodevour #channel
to pausearchive
db table to remember messages (guild_id,channel_id,content,author) for a time (opt in)/devoured <since> <up_to>
-> list timestamp / owner / short text of some messages/regurgitate (<id>)|(<since>/<up_to>)
(or maybe two commands)