From 989e1a0e9e54c2bc30c1dba4d3a0ad69a21de002 Mon Sep 17 00:00:00 2001 From: Someone Date: Sun, 9 Jan 2022 00:27:39 +0100 Subject: [PATCH] core/MMBot.py --- core/MMBot.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/core/MMBot.py b/core/MMBot.py index b0279cd..2d676d0 100644 --- a/core/MMBot.py +++ b/core/MMBot.py @@ -342,16 +342,6 @@ class MMBot(): self.respond(http_code, {"ephemeral_text":message}) - # Use to send a failure to the user. Use only the first time during a request. Should retain input on clientside. - def respond_cmd_ok(self, message, props=None): - data = {"skip_slack_parsing":True, "response_type":"ephemeral", "text": "## :x: Failure! :(\n#### "+message} - - if props: - data.update({"props": props}) - - self.respond(200, data - - # Use to send a failure to the user. Use only the first time during a request. Should retain input on clientside. def respond_cmd_err(self, message, props=None): data = {"skip_slack_parsing":True, "response_type":"ephemeral", "text": "## :x: Failure! :(\n#### "+message} -- 2.43.0