update delay info

This commit is contained in:
shoopea 2019-11-05 10:39:08 +08:00
parent 2e562a1c27
commit 2cbe5e7aa3

1
td.go
View File

@ -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)))
}