From ccfa2d55312fabd53f2e66b731040ce4d26d1d5a Mon Sep 17 00:00:00 2001 From: Someone Date: Thu, 6 Jan 2022 23:57:23 +0100 Subject: [PATCH] core/CoreCommandHCF.py --- core/CoreCommandHCF.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/CoreCommandHCF.py b/core/CoreCommandHCF.py index ebbbd6e..270de0d 100644 --- a/core/CoreCommandHCF.py +++ b/core/CoreCommandHCF.py @@ -10,7 +10,7 @@ from AbstractCommand import AbstractCommand class CoreCommandHCF(AbstractCommand): TRIGGER = "hcf" CONFIG = {"display_name": "somebot-command", "auto_complete": False} - CONFIG["auto_complete_desc"] = CONFIG["description"] = "Halt, but cleanup first." + CONFIG["auto_complete_desc"] = CONFIG["description"] = "Halt, but cleanup first. 📢" USEINFO = cleandoc(""" ``/hcf`` - Halt and catch fire. Or actually halt but cleanup first. Used to wipe all this bot user's commands and then fail horribly. @@ -21,7 +21,7 @@ class CoreCommandHCF(AbstractCommand): def on_POST(self, request, data): self._require_bot_admin(data) # will throw an exception if not. (Dont try-except: Its handled up the stack.) - request.cmd_respond_text_chan("### Halting and catching fire. bye...") + request.respond_cmd_chan("### Halting and catching fire. Bye...") # wipe all commands creted by this bot (not limited to this instance!) for team in self.bot.api.get_teams(): -- 2.43.0