save last_id more often
This commit is contained in:
@@ -20,5 +20,4 @@ class ShittyWatercolourFeedModuleConfig(FeedModuleConfig):
|
||||
p['data']['post_hint'] == 'image':
|
||||
p = p['data']
|
||||
bot.send_photo(chat_id, p['url'], p['title'])
|
||||
last_id = p['created']
|
||||
return last_id
|
||||
yield p['created']
|
||||
|
Reference in New Issue
Block a user