We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c00db3 commit 060c17bCopy full SHA for 060c17b
PoshBot/Plugins/Builtin/Public/New-ScheduledCommand.ps1
@@ -82,7 +82,7 @@ function New-ScheduledCommand {
82
$schedMsg = [ScheduledMessage]::new($Interval, $value, $botMsg, [datetime]$StartAfter)
83
} else {
84
$StartAfter = Get-Date
85
- $schedMsg = [ScheduledMessage]::new($Interval, $value, $botMsg, [datetime]$StartAfter)
+ $schedMsg = [ScheduledMessage]::new($Interval, $value, $botMsg)
86
}
87
} elseIf ($PSCmdlet.ParameterSetName -eq 'once') {
88
# This command will be executed once then removed from the scheduler
0 commit comments