diff --git a/bot.go b/bot.go index a4f52a7..38d5e2a 100644 --- a/bot.go +++ b/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 (set off)\n", out) + out = fmt.Sprintf("%s Pillage : ON (set off)\n", out) } else { - out = fmt.Printf("%s Pillage : OFF (set on)\n", out) + out = fmt.Sprintf("%s Pillage : OFF (set on)\n", out) } c := TGCommand{ Type: commandReplyMsg,