From 016169deeefd99ceae20b17faea273f2450a575d Mon Sep 17 00:00:00 2001 From: Someone Date: Mon, 10 Jan 2022 16:36:41 +0100 Subject: [PATCH] modules/CommandShouldITUIt.py --- modules/CommandShouldITUIt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/CommandShouldITUIt.py b/modules/CommandShouldITUIt.py index d588aa0..51e6519 100644 --- a/modules/CommandShouldITUIt.py +++ b/modules/CommandShouldITUIt.py @@ -12,7 +12,7 @@ class CommandShouldITUIt(AbstractCommand): CONFIG = {"display_name": "somebot-command", "auto_complete": True, "auto_complete_hint": "", } - USEINFO = CONFIG["auto_complete_desc"] = CONFIG["description"] = "Should I :tu: it?" + USEINFO = CONFIG["auto_complete_desc"] = CONFIG["description"] = AbstractCommand.ICON_PUBLIC+"Should I :tu: it?" options = ["No", "No?", @@ -36,4 +36,4 @@ class CommandShouldITUIt(AbstractCommand): def on_POST(self, request, data): - request.cmd_respond_text_chan(random.choice(self.options)) + request.respond_cmd_chan(random.choice(self.options)) -- 2.43.0