Signed-off-by: Frost Ming <me@frostming.com>
This commit is contained in:
Frost Ming 2023-12-15 14:08:22 +08:00
parent 7af312834c
commit 33eb1bb197
No known key found for this signature in database
GPG Key ID: 5BFA9CB4DDA943BF

View File

@ -47,7 +47,7 @@ def wrap_handler(handler: T, bot: TeleBot) -> T:
if not m:
bot.reply_to(message, "Please provide info after start words.")
return
return handler(m, *args, **kwargs)
return handler(message, *args, **kwargs)
except Exception:
traceback.print_exc()
bot.reply_to(message, "Something wrong, please check the log")