This commit is contained in:
shoopea 2019-10-11 13:45:03 +08:00
parent 6a017befdc
commit bfbe9cecc6

2
bot.go
View File

@ -733,7 +733,7 @@ func botVault(m *tb.Message, itemTypeList []int64) {
DepositChatID64: cfg.Bot.Depositchat, DepositChatID64: cfg.Bot.Depositchat,
} }
p.UserListID64 = append(p.UserListID64, int46(m.Sender.ID)) p.UserListID64 = append(p.UserListID64, int46(m.Sender.ID))
p.ItemTypeListID64 = append(p.ItemTypeListID64, itemTypeList) p.ItemTypeListID64 = append(p.ItemTypeListID64, itemTypeList...)
b, _ := json.Marshal(p) b, _ := json.Marshal(p)
t := time.Now().UTC() t := time.Now().UTC()