This commit is contained in:
shoopea 2019-05-25 22:39:24 +08:00
parent aaa0473003
commit 08925f683d

4
bot.go
View File

@ -207,13 +207,13 @@ func botMsgDump(m *tb.Message) {
} }
func botListParsingRules(m *tb.Message) { func botListParsingRules(m *tb.Message) {
var s string
if !m.Private() { if !m.Private() {
return return
} }
for _, v := range msgParsingRules { 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{ c := TGCommand{