mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-03-12 03:42:29 +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):
|
def add_job(args_text, ctx_msg, internal=False):
|
||||||
if args_text.strip() in ('', 'help', '-h', '--help') and not internal:
|
if args_text.strip() in ('', 'help', '-h', '--help') and not internal:
|
||||||
_send_add_job_help_msg(ctx_msg, internal)
|
_send_add_job_help_msg(ctx_msg, internal)
|
||||||
|
return
|
||||||
|
|
||||||
args_text = args_text.lstrip()
|
args_text = args_text.lstrip()
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user