PowerShell/Scripts/thank-you.ps1
2021-12-07 12:17:10 +01:00

18 lines
523 B
PowerShell
Executable File

<#
.SYNOPSIS
Replies to 'thank you'
.DESCRIPTION
This script replies to 'thank you' by text-to-speech (TTS).
.EXAMPLE
PS> ./thank-you
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
$Reply = "You're welcome.", "You're very welcome.", "That's all right.", "No problem.", "No worries.", "Don't mention it.", "It's my pleasure.", "My pleasure.", "Pleasure is mine.", "Glad to help.", "Anytime." | Get-Random
& "$PSScriptRoot/give-reply.ps1" "$Reply"
exit 0 # success