fix user config
This commit is contained in:
parent
6759afee8a
commit
2bd918a431
2
bot.go
2
bot.go
@ -894,7 +894,7 @@ func botCraftItem(m *ChatWarsMessage, r *regexp.Regexp) {
|
||||
func botUserConfig(m *ChatWarsMessage) {
|
||||
clt, _ := getLockedClient(m.TGUserID64, false)
|
||||
clt.Mux.Unlock()
|
||||
out := fmt.Sprintf("Config for %s (running build %s):\n", clt.Login, clt.Version)
|
||||
out := fmt.Sprintf("Config for %s (running build %s):\n", clt.Login, clt.Build)
|
||||
if clt.Config.InterceptPillage {
|
||||
out = fmt.Sprintf("%s Pillage : ON (<a href=\"https://t.me/share/url?url=/config_pillage_off\">set off</a>)\n", out)
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user