This commit is contained in:
shoopea 2020-06-16 19:08:40 +02:00
parent c1a80c164e
commit f95418aef8

2
bot.go
View File

@ -946,7 +946,7 @@ func botUserConfig(m *ChatWarsMessage) {
} else {
out = fmt.Sprintf("%s Individual items\n", out)
for _, v := range clt.Config.AutoDepositItems {
o, err := getObjItem(cacheObjItem[v])
o, err := getObjItem(getObjItemID(v, ``))
logOnError(err, "botUserConfig : getObjItem("+v+")")
out = fmt.Sprintf("%s %s(<a href=\"https://t.me/share/url?url=/config_dep_del_item %s\">remove</a>)\n", out, o.Names[0], o.Code)
}