diff --git a/bottools/methods.py b/bottools/methods.py index e7284b9..efd836f 100644 --- a/bottools/methods.py +++ b/bottools/methods.py @@ -231,3 +231,5 @@ def restart(bot, update): update.message.reply_text(bottools.strings.restart) time.sleep(0.5) os.execl(sys.executable, sys.executable, *sys.argv) + else: + bottools.methods.unknown(bot, update)