From 6d6c34b91cd9a3d727dd741ef3b605846f4ffe66 Mon Sep 17 00:00:00 2001 From: Someone Date: Mon, 10 Jan 2022 17:27:25 +0100 Subject: [PATCH] modules/CommandDSACheck.py --- modules/CommandDSACheck.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/CommandDSACheck.py b/modules/CommandDSACheck.py index c48f610..2505e76 100644 --- a/modules/CommandDSACheck.py +++ b/modules/CommandDSACheck.py @@ -14,7 +14,7 @@ class CommandDSACheck(AbstractCommand): CONFIG = {"display_name": "somebot-command", "auto_complete": True, "auto_complete_hint": "n [n n] [(+|-)b] [m]", } - USEINFO = CONFIG["auto_complete_desc"] = CONFIG["description"] = "Directly do an attribute or skill check, optionally with modifications and skill points" + USEINFO = CONFIG["auto_complete_desc"] = CONFIG["description"] = AbstractCommand.ICON_PUBLIC+"Directly do an attribute or skill check, optionally with modifications and skill points" def on_POST(self, request, data): @@ -92,9 +92,7 @@ class CommandDSACheck(AbstractCommand): msg += "Success ({}), QS: {}".format(throws, quality_level) else: - request.cmd_respond_text_temp( - "Possible invocations are either m [(+|-)b] or m n o [(+|-)b] [x] where n, m, o is between 1 and 99 and b and x can be any integers between -999 and 999 " - ) + request.respond_cmd_err("``/"+self.TRIGGER+"`` Possible invocations are either m [(+|-)b] or m n o [(+|-)b] [x] where n, m, o is between 1 and 99 and b and x can be any integers between -999 and 999.") return - request.cmd_respond_text_chan(msg) + request.respond_cmd_chan(msg) -- 2.43.0