fix delay

This commit is contained in:
shoopea 2019-08-24 14:08:31 +08:00
parent 5da523e55b
commit f38f27db00

2
bot.go
View File

@ -170,7 +170,7 @@ func botTestDelay(m *tb.Message) {
} }
if clt, ok := getLockedClient(m.Chat.ID, false); ok { if clt, ok := getLockedClient(m.Chat.ID, false); ok {
clt.Mux.Unlock() clt.Mux.Unlock()
clientSendCWMsgDelay(m.Chat.ID, "🏅Me", 5) clientSendCWMsgDelay(m.Chat.ID, "🏅Me", 5*time.Second)
c := TGCommand{ c := TGCommand{
Type: commandReplyMsg, Type: commandReplyMsg,