From fa13f09c7cd37982a96e61f7096106d72d98fb88 Mon Sep 17 00:00:00 2001 From: Someone Date: Mon, 5 Sep 2022 23:44:47 +0200 Subject: [PATCH] modules/CommandCurriculaSave.py --- modules/CommandCurriculaSave.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/CommandCurriculaSave.py b/modules/CommandCurriculaSave.py index b6dfedd..31344dc 100644 --- a/modules/CommandCurriculaSave.py +++ b/modules/CommandCurriculaSave.py @@ -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 -- 2.43.0