Fix bug in xiaoice command

This commit is contained in:
Richard Chien 2017-01-11 20:56:09 +08:00
parent 656190e70f
commit 968cc8e454

View File

@ -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