chore: 杂项修改

This commit is contained in:
lixiangwuxian
2024-11-27 01:15:45 +08:00
parent 978aa6a04e
commit 2fccf24709
3 changed files with 6 additions and 13 deletions

View File

@@ -140,13 +140,6 @@ func kwReply(msg model.Message) (reply model.Reply) {
wlist = append(wlist, v.Reply)
}
pick := rand.IntN(len(wlist))
if util.Fail(0.1) {
return model.Reply{
ReplyMsg: "",
ReferOriginMsg: false,
FromMsg: msg,
}
}
return model.Reply{
ReplyMsg: wlist[pick],
ReferOriginMsg: false,