nmarasc / duckbot

Python port of a previous project
MIT License
2 stars 0 forks source link

Clean up when channels no long relevant #16

Open nmarasc opened 6 years ago

nmarasc commented 6 years ago

When a channel is deleted/archived, there no reason to keep it in the bot's internal list or have it in the approved channels lists.

If the bot is removed from a channel there's also no reason to keep the channel in the approved list if #17 is implemented.

Possibly only remove if there's enough to remove, so as not to do it too frequently.