mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 05:27:30 +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