diff --git a/dev_utils/testBot/__init__.py b/dev_utils/testBot/__init__.py index ef22863..931e1cb 100644 --- a/dev_utils/testBot/__init__.py +++ b/dev_utils/testBot/__init__.py @@ -199,7 +199,6 @@ def handleTextMessage(self, message, chat_id, from_id): if command not in self.main.tcmd.commandDict: # we dont know the command so skip the message print "Previous command was an unknown command." - self.main.send_msg("I do not understand you! " + self.gEmo('mistake'),chatID=chat_id) raise ExitThisLoopException() # check if user is allowed to execute the command if self.isCommandAllowed(chat_id,from_id,command) and self.main.tcmd.checkState(from_id, command, parameter): diff --git a/octoprint_telegram/__init__.py b/octoprint_telegram/__init__.py index 3e936e8..f9ca54e 100644 --- a/octoprint_telegram/__init__.py +++ b/octoprint_telegram/__init__.py @@ -280,7 +280,6 @@ def handleTextMessage(self, message, chat_id, from_id): if command not in self.main.tcmd.commandDict: # we dont know the command so skip the message self._logger.warn("Previous command was an unknown command.") - self.main.send_msg("I do not understand you! " + self.gEmo('mistake'),chatID=chat_id) raise ExitThisLoopException() # check if user is allowed to execute the command if self.main.isCommandAllowed(chat_id,from_id,command):