From bc63c5e3d810c520632a05622d2c50093f6a4755 Mon Sep 17 00:00:00 2001 From: Someone Date: Mon, 10 Jan 2022 17:56:14 +0100 Subject: [PATCH] modules/WSModRemovePostTextEnforcer.py --- modules/WSModRemovePostTextEnforcer.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/WSModRemovePostTextEnforcer.py b/modules/WSModRemovePostTextEnforcer.py index 4d1100b..aea8cfe 100644 --- a/modules/WSModRemovePostTextEnforcer.py +++ b/modules/WSModRemovePostTextEnforcer.py @@ -19,7 +19,3 @@ class WSModRemovePostTextEnforcer(AbstractWSHandler): self.bot.api.update_post(post["id"], message=None, is_pinned=post["is_pinned"], has_reactions=post["has_reactions"], props=post["props"]) self.bot.debug_chan("``WSModRemovePostTextEnforcer: Post edit-attempt reverted. Post-id: ``**``"+post["id"]+"``**`` Text was:``\n\n----\n\n"+post["message"]) return True - - else: - import pprint - pprint.pprint(data) -- 2.43.0