This commit is contained in:
shoopea 2019-10-11 13:46:41 +08:00
parent fbaa4b2903
commit 63c9371ee4

2
bot.go
View File

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