From bfbe9cecc6e65dda8d5b3640e8448475b23d23cd Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 11 Oct 2019 13:45:03 +0800 Subject: [PATCH] fix --- bot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.go b/bot.go index 6923a08..4938e0e 100644 --- a/bot.go +++ b/bot.go @@ -733,7 +733,7 @@ func botVault(m *tb.Message, itemTypeList []int64) { DepositChatID64: cfg.Bot.Depositchat, } 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) t := time.Now().UTC()