PowerShell/Scripts/sorry.ps1

18 lines
324 B
PowerShell
Raw Normal View History

2021-12-11 17:24:41 +01:00
<#
.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