]> git.somenet.org - pub/jan/mattermost-bot.git/commitdiff
modules/TACommandWipeChannel.py
authorSomeone <someone@somenet.org>
Mon, 10 Jan 2022 16:27:25 +0000 (17:27 +0100)
committerSomeone <someone@somenet.org>
Mon, 10 Jan 2022 16:27:25 +0000 (17:27 +0100)
modules/TACommandWipeChannel.py

index 5a105e8e0b6a58ab5e42c83079517529d5e49e11..4bb0cc6e04590c815738d0980997ddec1aaf1ef9 100644 (file)
@@ -19,7 +19,7 @@ class TACommandWipeChannel(AbstractCommand):
 
         u = self.bot.api.get_user_by_username(data["text"].strip(), exc=False)
         if data["text"].strip() in ["--really-all", "--system"] and not u:
-            request.cmd_respond_text_temp("### parameter must be '--really-all', '--system' or a valid username. :(")
+            request.respond_cmd_err("``/"+self.TRIGGER+"`` parameter must be '--really-all', '--system' or a valid username.")
             return
 
         # needs indirection. see iterators.