From 95aaa4bf02b0afb257361076063e0efa389b438f Mon Sep 17 00:00:00 2001 From: Someone Date: Sat, 8 Jan 2022 23:39:53 +0100 Subject: [PATCH] core/AbstractCommand.py --- core/AbstractCommand.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/AbstractCommand.py b/core/AbstractCommand.py index 44e21bc..6b79cd6 100644 --- a/core/AbstractCommand.py +++ b/core/AbstractCommand.py @@ -82,7 +82,7 @@ class AbstractCommand(): self._require_not_guest(data) self.on_POST(request, data) except RequireException as ex: - request.cmd_respond_text_temp(str(ex)) + request.respond_cmd_err(str(ex)) def _on_POST_interactive(self, request, data): @@ -90,7 +90,7 @@ class AbstractCommand(): self._require_not_guest(data) self.on_POST_interactive(request, data) except RequireException as ex: - request.cmd_respond_text_temp(str(ex)) + request.respond_cmd_err(str(ex)) def _on_POST_dialog(self, request, data): @@ -98,7 +98,7 @@ class AbstractCommand(): self._require_not_guest(data) self.on_POST_dialog(request, data) except RequireException as ex: - request.cmd_respond_text_temp(str(ex)) + request.respond_cmd_err(str(ex)) def _create_slash_command(self): -- 2.43.0