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)
|
rank := getrank(level)
|
||||||
add := 1 + rand.Intn(10) + rank*5 // 等级越高获得的钱越高
|
add := 1 + rand.Intn(10) + rank*5 // 等级越高获得的钱越高
|
||||||
go func() {
|
|
||||||
err = wallet.InsertWalletOf(uid, add)
|
err = wallet.InsertWalletOf(uid, add)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
ctx.SendChain(message.Text("ERROR: ", err))
|
ctx.SendChain(message.Text("ERROR: ", err))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}()
|
|
||||||
alldata := &scdata{
|
alldata := &scdata{
|
||||||
drawedfile: drawedFile,
|
drawedfile: drawedFile,
|
||||||
picfile: picFile,
|
picfile: picFile,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user