Add formatting
This commit is contained in:
@ -3,9 +3,9 @@ package main
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
"time"
|
||||||
|
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
"samhofi.us/x/keybase/v2/types/chat1"
|
"samhofi.us/x/keybase/v2/types/chat1"
|
||||||
@ -97,7 +97,7 @@ func deferTime(m chat1.MsgSummary) {
|
|||||||
log.LogError("%+v: %+v", tracker, err)
|
log.LogError("%+v: %+v", tracker, err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
k.SendMessageByConvID(m.ConvID, fmt.Sprintf("I will run %+v at %+v", command, time.Now().Add(timer)))
|
k.SendMessageByConvID(m.ConvID, fmt.Sprintf("I will run %+v at %+v", command, time.Now().Add(timer).Format("Jan _2 15:04:05")))
|
||||||
time.Sleep(timer)
|
time.Sleep(timer)
|
||||||
handleChat(m)
|
handleChat(m)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user