From aaa04730039d1253234810ebd52a2e3d1fa53f13 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 25 May 2019 22:38:46 +0800 Subject: [PATCH] test --- bot.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, }