main: add marking reddit PMs as read back in.
This commit is contained in:
parent
3e8447f492
commit
b0616cafbc
|
@ -57,6 +57,7 @@ class DailyReleasesBot(object):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
self.generate(pm_recipient=message.author.name)
|
self.generate(pm_recipient=message.author.name)
|
||||||
|
message.mark_read()
|
||||||
|
|
||||||
# clean requests cache after each successful generation so it doesn't grow indefinitely
|
# clean requests cache after each successful generation so it doesn't grow indefinitely
|
||||||
self.cache.remove_expired_responses()
|
self.cache.remove_expired_responses()
|
||||||
|
|
Reference in a new issue