modules/CommandTissJoin.py
authorSomeone <someone@somenet.org>
Mon, 10 Jan 2022 15:36:41 +0000 (16:36 +0100)
committerSomeone <someone@somenet.org>
Mon, 10 Jan 2022 15:36:41 +0000 (16:36 +0100)
modules/CommandTissJoin.py

index 308e4e6d111570cd3eae7d60e52b8ef606c311d8..a799aa659ae3a9be62eb11d475d4026a947a4bec 100644 (file)
@@ -15,7 +15,7 @@ class CommandTissJoin(AbstractCommand):
     CONFIG = {"display_name": "somebot-command", "auto_complete": True,
               "auto_complete_hint": "<as-is-copy/paste of one TISS-LVA-Cockpit table>",
              }
-    USEINFO = CONFIG["auto_complete_desc"] = CONFIG["description"] = "Parses input and tries to join every LVA-channel. There is no undo."
+    USEINFO = CONFIG["auto_complete_desc"] = CONFIG["description"] = AbstractCommand.ICON_PRIVATE+"Parses input and tries to join every LVA-channel. There is no undo."
 
 
     def on_POST(self, request, data):
@@ -55,6 +55,6 @@ class CommandTissJoin(AbstractCommand):
 
 
         if result == "":
-            request.cmd_respond_text_temp("### ``TISS-Join results``\nFailed to detect any courses. :(")
+            request.respond_cmd_err("``/"+self.TRIGGER+"`` failed to detect any courses.")
 
-        request.cmd_respond_text_temp("### ``TISS-Join results``"+result)
+        request.respond_cmd_temp("## :white_check_mark: Success! :)\n#### Results..."+result)