diff --git a/td.go b/td.go index 5be6826..af5486d 100644 --- a/td.go +++ b/td.go @@ -220,7 +220,7 @@ func OwnUserID(c *tdlib.Client) int32 { func clientMsg(c *tdlib.Client, m TGCommand) { if m.Delay != time.Duration(0) { - log.Printf("clientMsg : Delaying message by %d seconds.\n", int64(m.Delay)) + log.Printf("clientMsg : Delaying message by %.3f seconds.\n", m.Delay.Seconds()) time.Sleep(m.Delay) } for {