From 6133066733f16ac0251783a6fe8af9b5efb051a5 Mon Sep 17 00:00:00 2001 From: Someone Date: Mon, 10 Jan 2022 17:27:25 +0100 Subject: [PATCH] modules/CommandFAQ.py --- modules/CommandFAQ.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/CommandFAQ.py b/modules/CommandFAQ.py index 687913c..f688bdb 100644 --- a/modules/CommandFAQ.py +++ b/modules/CommandFAQ.py @@ -12,7 +12,7 @@ class CommandFAQ(AbstractCommand): CONFIG = {"display_name": "somebot-command", "auto_complete": True, "auto_complete_hint": "", } - USEINFO = CONFIG["auto_complete_desc"] = CONFIG["description"] = "Link fsinf-faq." + USEINFO = CONFIG["auto_complete_desc"] = CONFIG["description"] = AbstractCommand.ICON_PUBLIC+"Link fsinf-faq." def on_POST(self, request, data): @@ -22,4 +22,4 @@ class CommandFAQ(AbstractCommand): Vielleicht findest du ja dort eine passende Antwort zu deiner Frage """) - request.cmd_respond_text_chan(msg) + request.respond_cmd_chan(msg) -- 2.43.0