main: add marking reddit PMs as read back in.
This commit is contained in:
parent
3e8447f492
commit
b0616cafbc
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Reference in a new issue