🎨 改进代码样式 (#723)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2023-09-03 14:12:33 +08:00 committed by GitHub
parent b7e21fc111
commit dbda1b466d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 9 deletions

View File

@ -89,7 +89,6 @@ func init() {
msg = append(msg, message.Text(
"[", i, "]", info.Name, " 数量: ", info.Number, "\n"))
}
}
msg = append(msg, message.Reply(ctx.Event.MessageID), message.Text("————————\n输入对应序号进行装备,或回复“取消”取消"))
ctx.Send(msg)
@ -300,7 +299,6 @@ func init() {
thingPice := priceList[info.Name] * discountList[info.Name] / 100
pice = append(pice, thingPice)
}
}
if len(thingInfos) > 1 {
msg := make(message.Message, 0, 3+len(thingInfos))
@ -313,7 +311,6 @@ func init() {
msg = append(msg, message.Text(
"[", i, "]", info.Name, " 数量:", info.Number, " 价格:", pice[i], "\n"))
}
}
msg = append(msg, message.Text("————————\n输入对应序号进行装备,或回复“取消”取消"))
ctx.Send(message.ReplyWithMessage(ctx.Event.MessageID, msg...))