fix
This commit is contained in:
parent
a23c2c341e
commit
326d16a49c
6
bot.go
6
bot.go
@ -894,11 +894,11 @@ func botCraftItem(m *ChatWarsMessage, r *regexp.Regexp) {
|
||||
func botUserConfig(m *ChatWarsMessage) {
|
||||
clt, _ := getLockedClient(m.TGUserID64, false)
|
||||
clt.Mux.Unlock()
|
||||
out := fmt.Printf("Config:\n")
|
||||
out := fmt.Sprintf("Config:\n")
|
||||
if clt.Config.InterceptPillage {
|
||||
out = fmt.Printf("%s Pillage : ON (<a href=\"https://t.me/share/url?url=/config_pillage_off\">set off</a>)\n", out)
|
||||
out = fmt.Sprintf("%s Pillage : ON (<a href=\"https://t.me/share/url?url=/config_pillage_off\">set off</a>)\n", out)
|
||||
} else {
|
||||
out = fmt.Printf("%s Pillage : OFF (<a href=\"https://t.me/share/url?url=/config_pillage_on\">set on</a>)\n", out)
|
||||
out = fmt.Sprintf("%s Pillage : OFF (<a href=\"https://t.me/share/url?url=/config_pillage_on\">set on</a>)\n", out)
|
||||
}
|
||||
c := TGCommand{
|
||||
Type: commandReplyMsg,
|
||||
|
Loading…
Reference in New Issue
Block a user