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 {