Closed manolab closed 9 years ago
Thank for reporting! you can try to modify this line: https://github.com/akalongman/php-telegram-bot/blob/master/src/Telegram.php#L375 with: if ($class) { anyway i will fix it in the next relase
Thanks! I extended the Telegram class with my version of executeCommand function and all works as I wanted!
Hi!
If the bot receives an undefined command something like that is thrown in the apache logs:
How can I deal with that? Which class do I need to tamper with to catch that error and, for example, reply some text to suggest the use of /help??
Thanks!