mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-23 00:13:36 +01:00
Add sorry.ps1
This commit is contained in:
parent
7a332d2b1d
commit
8ea938067f
@ -127,6 +127,7 @@ When finished say: *"Close tab"* or: *"Computer, close [name] browser"* to close
|
||||
* *"Computer, locate my phone"*
|
||||
* *"Computer, repeat last reply"* - repeats the last reply given
|
||||
* *"Computer, roll a dice"* - returns a dice number
|
||||
* *"Computer, sorry"*
|
||||
* *"Computer, tell joke."*
|
||||
* *"Computer, tell quote."*
|
||||
* *"Computer, switch wallpaper."*
|
||||
|
17
Scripts/sorry.ps1
Normal file
17
Scripts/sorry.ps1
Normal 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
|
Loading…
Reference in New Issue
Block a user