From 4839c6b1202bb7da85debc3cc9c96054d702535a Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 10 May 2019 10:59:05 +0800 Subject: [PATCH] test --- bot.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bot.go b/bot.go index 06e0fc1..fbd8d2c 100644 --- a/bot.go +++ b/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) // PrintText(m) - m, err := b.Send(m.Sender, "rescan") - logOnError(err, "botRescanMsg") - fmt.Println("botRescanMsg : rescan") + return `rescaning`, nil }