From 2cbe5e7aa3836b9446a021018ef6ffddc2d0a4c7 Mon Sep 17 00:00:00 2001 From: shoopea Date: Tue, 5 Nov 2019 10:39:08 +0800 Subject: [PATCH] update delay info --- td.go | 1 + 1 file changed, 1 insertion(+) diff --git a/td.go b/td.go index f6243bc..86ef6c3 100644 --- a/td.go +++ b/td.go @@ -89,6 +89,7 @@ func ListenTG(c *tdlib.Client) { break } lastChatTDMsgMux[m.ChatID64].Unlock() + fmt.Println("Delaying message.") time.Sleep(time.Until(now.Add(time.Second))) }