test
This commit is contained in:
parent
ebde59079c
commit
4288d568ca
4
bot.go
4
bot.go
@ -956,7 +956,7 @@ func botUserConfig(m *ChatWarsMessage) {
|
||||
for _, v := range clt.Config.AutoDepositItems {
|
||||
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)
|
||||
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)
|
||||
}
|
||||
}
|
||||
if len(clt.Config.AutoDepositTypes) == 0 {
|
||||
@ -964,7 +964,7 @@ func botUserConfig(m *ChatWarsMessage) {
|
||||
} else {
|
||||
out = fmt.Sprintf("%s Item types\n", out)
|
||||
for _, v := range clt.Config.AutoDepositTypes {
|
||||
out = fmt.Sprintf("%s %s(<a href=\"https://t.me/share/url?url=/config_dep_del_type %s\">remove</a>)\n", out, v, v)
|
||||
out = fmt.Sprintf("%s %s (<a href=\"https://t.me/share/url?url=/config_dep_del_type %s\">remove</a>)\n", out, v, v)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user