Compare commits

...

2 Commits

Author SHA1 Message Date
Thor 236470190e Add deletion notice 3 years ago
Thor 9f03e6d96c Relocate save_state() 3 years ago
  1. 2
      bot.py
  2. 6
      cringebot.py

@ -103,7 +103,7 @@ class BotClient:
time.sleep(self.config["rate_limit"])
statuses = self.api.fetch_previous(statuses)
self.save_state()
self.save_state()
except Exception as exc:
self.on_poll_exception(exc)

@ -237,6 +237,12 @@ class CringeBotClient(BotClient):
return
status_id = status["id"]
#if "Categorised as" in status["content"] and status["visibility"] == "direct":
# print("Deleting own status", status["id"])
# self.enqueue_deletion(status_id)
# return
#else:
# return
# Ignore bot's own statuses
if status_id in self.state["own"]:

Loading…
Cancel
Save