From 4529e5d7277cd6f385cc8f51786d75e4dc289d40 Mon Sep 17 00:00:00 2001 From: Someone Date: Mon, 10 Jan 2022 16:36:41 +0100 Subject: [PATCH] modules/CommandThreads.py --- modules/CommandThreads.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/CommandThreads.py b/modules/CommandThreads.py index 40d5319..9f67e74 100644 --- a/modules/CommandThreads.py +++ b/modules/CommandThreads.py @@ -12,7 +12,7 @@ class CommandThreads(AbstractCommand): CONFIG = {"display_name": "somebot-command", "auto_complete": True, "auto_complete_hint": "['oida'|'oidaaa'|'oida minusf'|'oida?']", } - CONFIG["auto_complete_desc"] = CONFIG["description"] = "Remind of thread usage." + CONFIG["auto_complete_desc"] = CONFIG["description"] = AbstractCommand.ICON_PUBLIC+"Remind of thread usage." USEINFO = cleandoc(""" Use ``/threads`` optionally with one of the following arguments ``'oida'|'oidaaa'|'oida minusf'|'oida?'`` to remind a person to use threads. """) @@ -47,7 +47,7 @@ class CommandThreads(AbstractCommand): """) else: - request.cmd_respond_text_temp("Die zulässigen Parameter sind: nichts, 'oida', 'oidaaa', 'oida minusf'. :)") + request.respond_cmd_err("``/"+self.TRIGGER+"`` needs either no parameter or 'oida', 'oidaaa', 'oida minusf', 'oida?' :)") return - request.cmd_respond_text_chan(msg) + request.respond_cmd_chan(msg) -- 2.43.0