This commit is contained in:
shoopea 2019-05-25 22:41:07 +08:00
parent 08925f683d
commit 7f4797b104

4
bot.go
View File

@ -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{