Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed the 'I do not understand you!' messages #221

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion dev_utils/testBot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
1 change: 0 additions & 1 deletion octoprint_telegram/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down