test
This commit is contained in:
parent
90a5e23400
commit
4839c6b120
6
bot.go
6
bot.go
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user