test
This commit is contained in:
parent
5863e67149
commit
aaa0473003
4
bot.go
4
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,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user