Created
October 3, 2020 11:10
-
-
Save dnnsmnstrr/ccf3e91373094b0303aad4ae2c34cd8a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Say a random curseword | |
function cuss () { | |
CUSS_WORDS=("fuck" "shit" "bitch" "asshole" "motherfucker" "cunt") | |
VOICES=("Albert" "Zarvox" "Alex" "Bad News" "Deranged" "Trinoids" "Hysterical") | |
RANDOM_VOICE=${VOICES[$( jot -r 1 0 $((${#VOICES[@]} - 1)) )]} | |
CUSS=${CUSS_WORDS[$( jot -r 1 0 $((${#CUSS_WORDS[@]} - 1)) )]} | |
echo $CUSS | |
say ${1:-$CUSS} -v ${2:-$RANDOM_VOICE} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment