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

@ -13,8 +13,8 @@
try {
$Reply = (Invoke-WebRequest http://wttr.in/?format="Dusk is at %d." -UserAgent "curl" -useBasicParsing).Content
"✔️ $Reply"
& "$PSScriptRoot/speak-english.ps1" "$Reply"
& "$PSScriptRoot/give-reply.ps1" "$Reply"
exit 0 # success
} catch {
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"