diff --git a/bot.go b/bot.go index b37689e..ecb3fe5 100644 --- a/bot.go +++ b/bot.go @@ -213,7 +213,7 @@ func botListParsingRules(m *tb.Message) { } for _, v := range msgParsingRules { - s := fmt.Sprintf("[%d] %s\n", v.ID, v.Descn) + s := fmt.Sprintf("[%d] %s\n", v.ID, v.Description) } c := TGCommand{ @@ -234,7 +234,7 @@ func botListParsingRule(m *tb.Message) { if int64(v.ID) == i { c := TGCommand{ Type: commandReplyMsg, - Text: fmt.Sprintf("%s\n", v.rule), + Text: fmt.Sprintf("%s\n", v.Rule), FromMsgID64: int64(m.ID), FromChatID64: m.Chat.ID, }