|
|
@@ -121,6 +121,8 @@ def on_command(group_id, user_id,command):
|
|
|
del_group_message(message_id)
|
|
|
elif str(command).startswith("/语音合成"):
|
|
|
send_group_message_word(group_id, "语音合成开始")
|
|
|
+ name = "xxx"
|
|
|
+ text = "xxx"
|
|
|
if str(command).startswith("/语音合成诺艾尔"):
|
|
|
name = "诺艾尔"
|
|
|
text = str(command)[len("/语音合成诺艾尔"):]
|
|
|
@@ -137,7 +139,7 @@ def on_command(group_id, user_id,command):
|
|
|
if result.startswith("https"):
|
|
|
send_group_vioce(group_id, result)
|
|
|
else:
|
|
|
- send_group_message_word(group_id, "语音合成失败!")
|
|
|
+ send_group_message_word(group_id, result)
|
|
|
|
|
|
else:
|
|
|
error = "抱歉没有找到你所输入的命令!如有关于命令的问题请@猫猫输入/菜单进行查询\n示例:\n@猫猫 /菜单"
|