This commit is contained in:
shoopea 2019-05-10 10:59:05 +08:00
parent 90a5e23400
commit 4839c6b120

6
bot.go
View File

@ -82,11 +82,9 @@ func botMsgRescan(m *tb.Message) (string, error) {
fmt.Println("botRescanMsg :", m.Text)
if !m.Private() {
fmt.Println("botRescanMsg : !m.Private()")
return
return ``, nil
}
fmt.Println("botRescanMsg payload :", m.Payload) // <PAYLOAD>
PrintText(m)
m, err := b.Send(m.Sender, "rescan")
logOnError(err, "botRescanMsg")
fmt.Println("botRescanMsg : rescan")
return `rescaning`, nil
}