From 10cb5c31b16a6f64a1d84335b6f1563a98ca41b9 Mon Sep 17 00:00:00 2001
From: Someone <someone@somenet.org>
Date: Mon, 10 Jan 2022 17:31:42 +0100
Subject: [PATCH] modules/CommandDSARollDice.py

---
 modules/CommandDSARollDice.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/modules/CommandDSARollDice.py b/modules/CommandDSARollDice.py
index 5cfdf2a..2907f22 100644
--- a/modules/CommandDSARollDice.py
+++ b/modules/CommandDSARollDice.py
@@ -13,7 +13,7 @@ class CommandDSARollDice(AbstractCommand):
     CONFIG = {"display_name": "somebot-command", "auto_complete": True,
               "auto_complete_hint": "[n(d|w)](6|20)[(+|-)b]",
              }
-    USEINFO = CONFIG["auto_complete_desc"] = CONFIG["description"] = "Roll a 6 or 20 sided die, optionally apply modifications according to the DSA rules."
+    USEINFO = CONFIG["auto_complete_desc"] = CONFIG["description"] = AbstractCommand.ICON_PUBLIC+"Roll a 6 or 20 sided die, optionally apply modifications according to the DSA rules."
 
 
     def on_POST(self, request, data):
@@ -52,9 +52,7 @@ class CommandDSARollDice(AbstractCommand):
                     dice_sum += randint(1, die)
                 msg += str(dice_sum)
         else:
-            request.cmd_respond_text_temp(
-                "Possible invocations are either m[+b] or ndm[+b] where n is between 1 and 99, b can be any integer betwenn -999 and 999, and m is either 6 or 20"
-            )
+            request.respond_cmd_err("``/"+self.TRIGGER+"`` Possible invocations are either m[+b] or ndm[+b] where n is between 1 and 99, b can be any integer betwenn -999 and 999, and m is either 6 or 20.")
             return
 
         request.respond_cmd_chan(msg)
-- 
2.43.0