Remove breakpoint
This commit is contained in:
parent
2026dc9a6a
commit
57b666dde2
1 changed files with 0 additions and 10 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue