ayubun / discord-ttl

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

Add server-specific TTLs #9

Open ayubun opened 1 year ago

ayubun commented 1 year ago

Note: For this feature, it's also important to add support for non-initialized TTLs (such as -1 or commenting out the DEFAULT_MESSAGE_TTL env variable) to make it so that the bot doesn't delete messages by default on joining a new server (it currently does).