From 57b666dde2c3ee03c25eadff0b5a0b5e8a473323 Mon Sep 17 00:00:00 2001 From: Schimon Jehudah Date: Tue, 2 Jan 2024 12:44:32 +0000 Subject: [PATCH] Remove breakpoint --- slixfeed/xmpp/process.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/slixfeed/xmpp/process.py b/slixfeed/xmpp/process.py index 65907bf..9b8caaf 100644 --- a/slixfeed/xmpp/process.py +++ b/slixfeed/xmpp/process.py @@ -137,7 +137,6 @@ async def message(self, message): # await compose.message(self, jid, message) - response = "Empty message (action only)." message_text = " ".join(message["body"].split()) if message["type"] == "groupchat": message_text = message_text[1:] @@ -147,15 +146,6 @@ async def message(self, message): print(current_time(), "COMMAND:", message_text) match message_lowercase: - case "breakpoint": - if jid == get_value("accounts", "XMPP", "operator"): - breakpoint() - else: - response = ( - "This action is restricted. " - "Type: breakpoint." - ) - send_reply_message(self, message, response) case "commands": response = text.print_cmd() send_reply_message(self, message, response)