From: Someone Date: Mon, 10 Jan 2022 16:27:25 +0000 (+0100) Subject: modules/TACommandWipeChannel.py X-Git-Url: https://git.somenet.org/pub/jan/mattermost-bot.git/commitdiff_plain/a35f9cae813b8ffcc213129c7af44f9d3498b79c modules/TACommandWipeChannel.py --- diff --git a/modules/TACommandWipeChannel.py b/modules/TACommandWipeChannel.py index 5a105e8..4bb0cc6 100644 --- a/modules/TACommandWipeChannel.py +++ b/modules/TACommandWipeChannel.py @@ -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.