diff --git a/td.go b/td.go index 0146d48..c182afa 100644 --- a/td.go +++ b/td.go @@ -225,7 +225,7 @@ func OwnUserID(c *tdlib.Client) int32 { func clientMsg(c *tdlib.Client, m TGCommand) { if m.Delay != 0 { - time.Sleep(time.Duration(m.Delay * time.Second)) + time.Sleep(time.Duration(m.Delay) * time.Second) } switch m.Type { case commandSendMsg: