From 5da523e55b8892fcd2f1a4151c65de087a4ab0f5 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 24 Aug 2019 14:02:07 +0800 Subject: [PATCH] fix delay --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index d1664c4..055543d 100644 --- a/client.go +++ b/client.go @@ -40,7 +40,7 @@ func clientSendCWMsgDelay(userID64 int64, s string, d time.Duration) { Text: s, FromUserID64: userID64, ToChatID64: userID64ChtWrsBot, - Delay: int64(d), + Delay: d, } MQTGCmdQueue <- c }