mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 03:15:24 +08:00
Fix bug in xiaoice command
This commit is contained in:
parent
656190e70f
commit
968cc8e454
@ -43,4 +43,5 @@ def xiaoice(args_text, ctx_msg, internal=False):
|
||||
reply = json['reply']
|
||||
core.echo(reply, ctx_msg, internal)
|
||||
return reply
|
||||
core.echo('小冰没有回复,请稍后再试', ctx_msg, internal)
|
||||
return None
|
||||
|
Loading…
Reference in New Issue
Block a user