diff --git a/dailyreleases/main.py b/dailyreleases/main.py index d905336..aa74da6 100644 --- a/dailyreleases/main.py +++ b/dailyreleases/main.py @@ -57,6 +57,7 @@ class DailyReleasesBot(object): continue self.generate(pm_recipient=message.author.name) + message.mark_read() # clean requests cache after each successful generation so it doesn't grow indefinitely self.cache.remove_expired_responses()