diff --git a/job.go b/job.go index 7e04bb5..a36b4fa 100644 --- a/job.go +++ b/job.go @@ -1588,12 +1588,12 @@ func jobGWithdraw(j Job) { ref := hex.EncodeToString(out) user := bot.ChatByID(fmt.Sprintf("%d", p.UserID64)) - stock := make(string, 0) + stock := new(string) for _, i := range p.Items { if i.Available > i.Required { - stock = fmt.Sprintf("\n%d x %s", i.Required, i.Name) + stock = fmt.Sprintf("%s\n%d x %s", stock, i.Required, i.Name) } else { - stock = fmt.Sprintf("\n%d x %s", i.Available, i.Name) + stock = fmt.Sprintf("%s\n%d x %s", stock, i.Available, i.Name) } }