Add use of give-reply.ps1

This commit is contained in:
Markus Fleschutz
2021-12-06 17:00:49 +01:00
parent 589ba8e93c
commit 3a0cb4a001
38 changed files with 74 additions and 116 deletions

View File

@ -15,9 +15,7 @@ try {
$Now = [DateTime]::Now
$Diff = [Datetime]("12/31/" + $Now.Year) $Now
$Reply = "New Year is in $($Diff.Days) days."
"✔️ $Reply"
& "$PSScriptRoot/speak-english.ps1" "$Reply"
& "$PSScriptRoot/give-reply.ps1" "New Year is in $($Diff.Days) days."
exit 0 # success
} catch {
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"