Add sorry.ps1

This commit is contained in:
Markus
2021-12-11 17:24:41 +01:00
parent 7a332d2b1d
commit 8ea938067f
2 changed files with 18 additions and 0 deletions

17
Scripts/sorry.ps1 Normal file
View File

@ -0,0 +1,17 @@
<#
.SYNOPSIS
Replies to "Sorry"
.DESCRIPTION
This script replies to 'Sorry' by text-to-speech (TTS).
.EXAMPLE
PS> ./sorry
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
$Reply = "Never mind." | Get-Random
& "$PSScriptRoot/give-reply.ps1" "$Reply"
exit 0 # success