ayubun / discord-ttl

A simple-to-selfhost Discord bot that deletes server messages older than a configurable TTL (time to live)
MIT License
35 stars 4 forks source link

Use channel deny-lists to control where TTL wont delete #12

Closed ayubun closed 9 months ago

ayubun commented 1 year ago

Currently, this bot will delete anything it has permission to delete and can see. It would be cool if admins could more securely specify specific channels to target (or add specific channels to avoid) to give users more peace of mind if they want to avoid deleting certain things (i.e. avoid #info or #rules channels, or target #purge or #void channels)

ayubun commented 1 year ago

I think in tandem with #9 #11, this issue could simply encapsulate a deny list; That way, someone can set a server TTL with #9, but still fine-tune which channels are for-sure avoided. If they wanted to target a specific channel, they can unset the server TTL and set the channel TTL, which would have the same effect as an allow list.