Skip to content

Commit 060c17b

Browse files
committed
undo last change
1 parent 0c00db3 commit 060c17b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PoshBot/Plugins/Builtin/Public/New-ScheduledCommand.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function New-ScheduledCommand {
8282
$schedMsg = [ScheduledMessage]::new($Interval, $value, $botMsg, [datetime]$StartAfter)
8383
} else {
8484
$StartAfter = Get-Date
85-
$schedMsg = [ScheduledMessage]::new($Interval, $value, $botMsg, [datetime]$StartAfter)
85+
$schedMsg = [ScheduledMessage]::new($Interval, $value, $botMsg)
8686
}
8787
} elseIf ($PSCmdlet.ParameterSetName -eq 'once') {
8888
# This command will be executed once then removed from the scheduler

0 commit comments

Comments
 (0)