Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fangliuyu committed Oct 2, 2024
1 parent 58bd32a commit d102b6d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugin/mcfish/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,7 @@ func init() {
} else {
pice = priceList[thingName] * discountList[thingName] / 100
}
pice = pice * 6 * 8 / 100
ctx.Send(message.ReplyWithMessage(ctx.Event.MessageID, message.Text("是否接受商店将以", pice*number, "收购", number, "个", thingName, "?\n回答\"\"\"\"")))
ctx.Send(message.ReplyWithMessage(ctx.Event.MessageID, message.Text("是否接受商店将以", pice*number*8/100, "收购", number, "个", thingName, "?\n回答\"\"\"\"")))
// 等待用户下一步选择
recv, cancel1 := zero.NewFutureEvent("message", 999, false, zero.RegexRule(`^(是|否)$`), zero.CheckUser(ctx.Event.UserID)).Repeat()
defer cancel1()
Expand Down

0 comments on commit d102b6d

Please sign in to comment.