mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 22:00:11 +08:00
parent
13ef54ef62
commit
7d5c770398
@ -139,13 +139,11 @@ func init() {
|
||||
// 更新钱包
|
||||
rank := getrank(level)
|
||||
add := 1 + rand.Intn(10) + rank*5 // 等级越高获得的钱越高
|
||||
go func() {
|
||||
err = wallet.InsertWalletOf(uid, add)
|
||||
if err != nil {
|
||||
ctx.SendChain(message.Text("ERROR: ", err))
|
||||
return
|
||||
}
|
||||
}()
|
||||
alldata := &scdata{
|
||||
drawedfile: drawedFile,
|
||||
picfile: picFile,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user