From 14640092f427029f04efd9c526d4bfd401911d0c Mon Sep 17 00:00:00 2001 From: Someone Date: Mon, 10 Jan 2022 17:35:44 +0100 Subject: [PATCH] modules/CommandPlenum.py --- modules/CommandPlenum.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/CommandPlenum.py b/modules/CommandPlenum.py index dc40748..ff78502 100644 --- a/modules/CommandPlenum.py +++ b/modules/CommandPlenum.py @@ -12,7 +12,7 @@ class CommandPlenum(AbstractCommand): CONFIG = {"display_name": "somebot-command", "auto_complete": True, "auto_complete_hint": "['oida'|'oidaaa']", } - CONFIG["auto_complete_desc"] = CONFIG["description"] = "Remind of plenum." + CONFIG["auto_complete_desc"] = CONFIG["description"] = AbstractCommand.ICON_PUBLIC+"Remind of plenum." USEINFO = cleandoc(""" Use ``/plenum`` optionally with one of the following arguments ``'oida'|'oidaaa'`` to remind a person to come to plenum. """) @@ -31,7 +31,7 @@ class CommandPlenum(AbstractCommand): msg = "PLEEEEeeEeEEnum... PleeEeeeEEeeEEeeeeeEeEeeeeeenum ...\nhttps://www.youtube.com/watch?v=Y3-VTt5CMUM @all" else: - request.cmd_respond_text_temp("Die zulässigen Parameter sind: nichts, 'oida', 'oidaaa'. :)") + request.respond_cmd_err("``/"+self.TRIGGER+"`` allowed parameters: none, 'oida', 'oidaaa'. :)") return - request.cmd_respond_text_chan(msg) + request.respond_cmd_chan(msg) -- 2.43.0