diff --git a/plugin/qqwife/command.go b/plugin/qqwife/command.go index 4302e2b220..76e4d06e91 100644 --- a/plugin/qqwife/command.go +++ b/plugin/qqwife/command.go @@ -67,7 +67,7 @@ var ( "- 买礼物给[对方Q号|@对方QQ]\n使用小熊饼干获取好感度\n" + "- 做媒 @攻方QQ @受方QQ\n身为管理, 群友的xing福是要搭把手的(攻受双方好感度越高成功率越高,保底30%概率)\n" + "--------------------------------\n好感度规则\n--------------------------------\n" + - "\"娶群友\"指令好感度随机增加1~5。\n\"A牛B的C\"会导致C恨A, 好感度-5;\nB为了报复A, 好感度+5(什么柜子play)\nA为BC做媒,成功B、C对A好感度+1反之-1\n做媒成功BC好感度+1" + + "\"娶群友\"&\"(娶|嫁)@对方QQ\"指令好感度随机增加1~5。\n\"A牛B的C\"会导致C恨A, 好感度-5;\nB为了报复A, 好感度+5(什么柜子play)\nA为BC做媒,成功B、C对A好感度+1反之-1\n做媒成功BC好感度+1" + "\nTips: 群老婆列表过0点刷新", PrivateDataFolder: "qqwife", }).ApplySingle(single.New( diff --git a/plugin/qqwife/function.go b/plugin/qqwife/function.go index 3a8d2e8e50..174f7759a9 100644 --- a/plugin/qqwife/function.go +++ b/plugin/qqwife/function.go @@ -148,6 +148,10 @@ func init() { } choicetext = "\n今天你的群老公是" } + favor, err = 民政局.更新好感度(uid, fiancee, 1+rand.Intn(5)) + if err != nil { + ctx.SendChain(message.Text("[ERROR]:", err)) + } // 请大家吃席 ctx.SendChain( message.Text(sendtext[0][rand.Intn(len(sendtext[0]))]), @@ -158,6 +162,7 @@ func init() { "\n", "[", ctx.CardOrNickName(fiancee), "]", "(", fiancee, ")哒", + "(", fiancee, ")哒\n当前你们好感度为", favor, ), ) })