diff --git a/bot.go b/bot.go index ecb3fe5..2f4728f 100644 --- a/bot.go +++ b/bot.go @@ -207,13 +207,13 @@ func botMsgDump(m *tb.Message) { } func botListParsingRules(m *tb.Message) { - + var s string if !m.Private() { return } for _, v := range msgParsingRules { - s := fmt.Sprintf("[%d] %s\n", v.ID, v.Description) + s = fmt.Sprintf("[%d] %s\n", v.ID, v.Description) } c := TGCommand{