Skip to content

Commit 601f648

Browse files
committed
Removed DEBUG on fly option
1 parent 69f3852 commit 601f648

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/UniversalTelegramBot.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -331,14 +331,6 @@ int UniversalTelegramBot::getUpdates(long offset) {
331331
messages[newMessageIndex].from_name = from_name;
332332

333333
newMessageIndex++;
334-
335-
if (text == "/debug_bot_on") {
336-
_debug = true;
337-
UniversalTelegramBot::sendMessage(chat_id, "Debug mode of Bot ENABLED");
338-
} else if (text == "/debug_bot_off") {
339-
_debug = false;
340-
UniversalTelegramBot::sendMessage(chat_id, "Debug mode of Bot DISABLED");
341-
}
342334
}
343335
}
344336
return newMessageIndex;

0 commit comments

Comments
 (0)