mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-12-01 01:25:07 +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']
|
reply = json['reply']
|
||||||
core.echo(reply, ctx_msg, internal)
|
core.echo(reply, ctx_msg, internal)
|
||||||
return reply
|
return reply
|
||||||
|
core.echo('小冰没有回复,请稍后再试', ctx_msg, internal)
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user