diff --git a/bot.go b/bot.go index ac57522..cad26dd 100644 --- a/bot.go +++ b/bot.go @@ -660,7 +660,7 @@ func botListParsingRule(m *tb.Message) { return } -func botGStock(m ChatWarsMessage) { +func botGStock(m *ChatWarsMessage) { clt, err := getLockedIdleClient() if err != nil { c := TGCommand{ diff --git a/job.go b/job.go index bedcb6d..66a1377 100644 --- a/job.go +++ b/job.go @@ -1972,7 +1972,7 @@ func jobGetVault(j Job) { logOnError(err, "jobGetVault : parseSubTypeMessageGStockAnyAck") for _, disp := range cwm.Stock { - item := ChatWarsItem{ + item := ChatWarsItems{ Code: disp.Code, ItemID64: disp.ItemID64, Name: disp.Name,