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