chore: 杂项修改
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user