modules/CommandCurriculaSave.py
authorSomeone <someone@somenet.org>
Mon, 5 Sep 2022 21:44:47 +0000 (23:44 +0200)
committerSomeone <someone@somenet.org>
Mon, 5 Sep 2022 21:44:47 +0000 (23:44 +0200)
modules/CommandCurriculaSave.py

index b6dfedde77891b5d774932e020e6100234c3f207..31344dc65804e04131b6b9f20eed10db1a110938 100644 (file)
@@ -56,6 +56,7 @@ class CommandCurriculaSave(AbstractCommand,AbstractPublicWS):
 
         post = self.bot.api.get_post(splitpath[1], exc=False)
         if "props" in post and "context" in post["props"] and "curricula_fsinf" in post["props"]["context"]:
+            self.bot.api.create_post(post['channel_id'], "``AUTODELETE-WEEK`` Somebody just accessed this storage.\nIf this was not you consider creating a new storage post, migrate data and then delete this storage post, also consider contacting @someone.", root_id=post["id"])
             request.respond_public(200, post["props"]["context"]["curricula_fsinf"])
             return