]> 127.0.0.1 Git - bili_danmu/.git/commitdiff
fix
authorqydysky <qydysky@foxmail.com>
Sun, 10 Jan 2021 06:30:27 +0000 (14:30 +0800)
committerqydysky <qydysky@foxmail.com>
Sun, 10 Jan 2021 06:30:27 +0000 (14:30 +0800)
Reply/tts.go
demo/config/config_tts.json

index 209ed13e64a543d79e513e3a31f26bf6a436abd4..6ac1c792bbd101f5027a7c7ead56179f30f9d105 100644 (file)
@@ -90,6 +90,6 @@ func TTS(uid,msg string) {
        var prog = []string{}
        prog = append(prog, p.Sys().Cdir()+"/tts.mp3")
        prog = append(prog, strings.Split(tts_prog_set," ")...)
-       p.Exec().Run(exec.Command(tts_prog, prog...))
+       p.Exec().Run(false, tts_prog, prog...)
        return
 }
\ No newline at end of file
index 2ca6d11aa48c0453e723c17e455e8d677faecba1..dfaf7cad7ac9c6dba5d6f5a01b7d7163249298e1 100644 (file)
@@ -3,6 +3,5 @@
     "0gift": "感谢{D}",
     "0superchat": "感谢{D}",
     "0multi": "观众:{D}",
-    "0rank":"{D}",
-    "29183321":"{D}"
+    "0rank":"{D}"
 }
\ No newline at end of file