mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 03:57:00 +08:00
Fix a bug
This commit is contained in:
parent
ee7df2ab37
commit
6e86d36056
@ -98,6 +98,7 @@ def cron_check(args_text, ctx_msg):
|
||||
def add_job(args_text, ctx_msg, internal=False):
|
||||
if args_text.strip() in ('', 'help', '-h', '--help') and not internal:
|
||||
_send_add_job_help_msg(ctx_msg, internal)
|
||||
return
|
||||
|
||||
args_text = args_text.lstrip()
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user