This commit is contained in:
cdle
2021-10-13 09:30:07 +08:00
parent dc1f2d0981
commit 12d6848234
+1
View File
@@ -22,6 +22,7 @@ func init() {
}
reply := func(str string) string {
str, _ = httplib.Get(fmt.Sprintf(api, str)).String()
s.Reply(str)
if gjson := sillyGirl.Get("小爱同学gjson"); gjson != "" {
str, _ = jsonparser.GetString([]byte(str), strings.Split(gjson, ".")...)
}