From 791418993efd1549604d625209a5601a5ab092e2 Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Tue, 6 Jul 2021 11:13:56 -0400 Subject: [PATCH] Fix typo --- commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands.go b/commands.go index e528033..98a411b 100644 --- a/commands.go +++ b/commands.go @@ -88,7 +88,7 @@ func listVehicles(m chat1.MsgSummary) { func deferTime(m chat1.MsgSummary) { parts := strings.Split(m.Content.Text.Body, " ") t := parts[1] - command := strings.Join(parts[1:], " ") + command := strings.Join(parts[2:], " ") m.Content.Text.Body = fmt.Sprintf("!%+v", command) timer, err := time.ParseDuration(t) if err != nil {