padding for shop number

This commit is contained in:
shoopea 2020-02-14 12:55:25 +08:00
parent cb944c8a36
commit 6680781bbe

2
job.go
View File

@ -2291,7 +2291,7 @@ func jobShops(j Job) {
eta = "full"
}
out = fmt.Sprintf("%s %s%s<a href=\"https://t.me/share/url?url=/ws_%s\">#%d</a> [%d💧 %s] @%s\n", out, status, c.Logo, cwm.Link, cwm.ShopNumber, cwm.Mana, eta, username)
out = fmt.Sprintf("%s %s%s<a href=\"https://t.me/share/url?url=/ws_%s\">#%04d</a> [%d💧 %s] @%s\n", out, status, c.Logo, cwm.Link, cwm.ShopNumber, cwm.Mana, eta, username)
}
}